]> git.baikalelectronics.ru Git - kernel.git/commitdiff
sfc: fix sparse non static symbol warning
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 17 Dec 2013 03:08:10 +0000 (11:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Dec 2013 20:00:31 +0000 (15:00 -0500)
Fixes the following sparse warning:

drivers/net/ethernet/sfc/falcon.c:2601:6: warning:
 symbol 'falcon_pull_nic_stats' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/falcon.c

index 5c6d63cfc39423933a5be475777b8ad4f6442ea5..18d6f761f4d06b18cd060e66d8625a4aa06aa6c2 100644 (file)
@@ -2614,7 +2614,7 @@ void falcon_start_nic_stats(struct efx_nic *efx)
 /* We don't acutally pull stats on falcon. Wait 10ms so that
  * they arrive when we call this just after start_stats
  */
-void falcon_pull_nic_stats(struct efx_nic *efx)
+static void falcon_pull_nic_stats(struct efx_nic *efx)
 {
        msleep(10);
 }