From: Wei Yongjun Date: Tue, 17 Dec 2013 03:08:10 +0000 (+0800) Subject: sfc: fix sparse non static symbol warning X-Git-Tag: v3.14-rc1~94^2~434 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2adcaa82d0c9d6423afcbfcb68658ff86794c29;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/sfc/falcon.c b/drivers/net/ethernet/sfc/falcon.c index 5c6d63c..18d6f76 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) /* 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); }