net: hns3: make function hclge_set_all_vf_rst() static
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 16 Feb 2019 08:15:52 +0000 (08:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Feb 2019 23:55:11 +0000 (15:55 -0800)
commite511f17b1fb40248e63677a6ab81a29b9b32080d
treedfa280eb725e47c61b541e141f8c35e4a52d3183
parent58ecf2688cc9b44d2e8f830c16212edbeaef4dce
net: hns3: make function hclge_set_all_vf_rst() static

Fixes the following sparse warning:

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:2431:5: warning:
 symbol 'hclge_set_all_vf_rst' was not declared. Should it be static?

Fixes: aa5c4f175be6 ("net: hns3: add reset handling for VF when doing PF reset")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c