]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: make local functions static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 11 Oct 2017 02:35:23 +0000 (02:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Oct 2017 22:21:28 +0000 (15:21 -0700)
commit3c0472ae9fb61de5f289d3e5de64ab17d186dcb9
tree30cde06770be94bee69c8c8feb0dbcef69eaf6f5
parentaf8ca47782774498700ac54e7bfeb33620d82f34
net: hns3: make local functions static

Fixes the following sparse warnings:

drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c:464:5: warning:
 symbol 'hns3_change_all_ring_bd_num' was not declared. Should it be static?
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c:477:5: warning:
 symbol 'hns3_set_ringparam' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c