Commit 2f22d22e authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller

drivers/net/qlge: fix sparse warnings: make symbols static

Fix this sparse warnings:

  drivers/net/qlge/qlge_ethtool.c:100:6: warning: symbol 'ql_update_stats' was not declared. Should it be static?
  drivers/net/qlge/qlge_mpi.c:22:5: warning: symbol 'ql_get_mb_sts' was not declared. Should it be static?
Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f8057b7f
......@@ -97,7 +97,7 @@ exit:
return status;
}
void ql_update_stats(struct ql_adapter *qdev)
static void ql_update_stats(struct ql_adapter *qdev)
{
u32 i;
u64 data;
......
......@@ -19,7 +19,7 @@ exit:
return status;
}
int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp)
static int ql_get_mb_sts(struct ql_adapter *qdev, struct mbox_params *mbcp)
{
int i, status;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment