提交 2f22d22e 编写于 作者: H Hannes Eder 提交者: 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: NHannes Eder <hannes@hanneseder.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 f8057b7f
......@@ -97,7 +97,7 @@ static int ql_update_ring_coalescing(struct ql_adapter *qdev)
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 @@ static int ql_read_mbox_reg(struct ql_adapter *qdev, u32 reg, u32 *data)
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册