Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: hns: make function hns_gmac_wait_fifo_clean() static

Fixes the following sparse warning:

drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c:322:5: warning:
symbol 'hns_gmac_wait_fifo_clean' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Wei Yongjun and committed by
David S. Miller
0a959e45 b8b2de91

+1 -1
+1 -1
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c
··· 319 319 hns_gmac_set_uc_match(mac_drv, en); 320 320 } 321 321 322 - int hns_gmac_wait_fifo_clean(void *mac_drv) 322 + static int hns_gmac_wait_fifo_clean(void *mac_drv) 323 323 { 324 324 struct mac_driver *drv = (struct mac_driver *)mac_drv; 325 325 int wait_cnt;