diff options
author | 2021-11-30 11:34:37 +0000 | |
---|---|---|
committer | 2021-11-30 12:28:14 +0000 | |
commit | c0190879323f88be22a0debda814680dc6e66751 (patch) | |
tree | 4b18bb92c10b6f2ed8c945b803a06dc55cb14ffd /net/core/dev_ioctl.c | |
parent | Merge branch 'prestera-next' (diff) | |
download | wireguard-linux-c0190879323f88be22a0debda814680dc6e66751.tar.xz wireguard-linux-c0190879323f88be22a0debda814680dc6e66751.zip |
net: hns3: make symbol 'hclge_mac_speed_map_to_fw' static
The sparse tool complains as follows:
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:2656:28: warning:
symbol 'hclge_mac_speed_map_to_fw' was not declared. Should it be static?
This symbol is not used outside of hclge_main.c, so marks it static.
Fixes: e46da6a3d4d3 ("net: hns3: refine function hclge_cfg_mac_speed_dup_hw()")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions