Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2adcaa8 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 78ea85f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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
/* We don't acutally pull stats on falcon. Wait 10ms so that
 * they arrive when we call this just after start_stats
 * 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);
	msleep(10);
}
}