diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-12-16 22:08:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-19 15:00:31 -0500 |
commit | d2adcaa82d0c9d6423afcbfcb68658ff86794c29 (patch) | |
tree | f223e07fe6efb8d2578ca0c20ead8473407d1cb8 /drivers/net/ethernet/sfc | |
parent | 78ea85f17b15390e30d8b47488ec7b6cf0790663 (diff) |
sfc: fix sparse non static symbol warning
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>
Diffstat (limited to 'drivers/net/ethernet/sfc')
-rw-r--r-- | drivers/net/ethernet/sfc/falcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/falcon.c b/drivers/net/ethernet/sfc/falcon.c index 5c6d63cfc394..18d6f761f4d0 100644 --- a/drivers/net/ethernet/sfc/falcon.c +++ b/drivers/net/ethernet/sfc/falcon.c | |||
@@ -2614,7 +2614,7 @@ void falcon_start_nic_stats(struct efx_nic *efx) | |||
2614 | /* We don't acutally pull stats on falcon. Wait 10ms so that | 2614 | /* We don't acutally pull stats on falcon. Wait 10ms so that |
2615 | * they arrive when we call this just after start_stats | 2615 | * they arrive when we call this just after start_stats |
2616 | */ | 2616 | */ |
2617 | void falcon_pull_nic_stats(struct efx_nic *efx) | 2617 | static void falcon_pull_nic_stats(struct efx_nic *efx) |
2618 | { | 2618 | { |
2619 | msleep(10); | 2619 | msleep(10); |
2620 | } | 2620 | } |