net: hns3: clear hns unused parameter alarm
authorPeiyang Wang <wangpeiyang1@huawei.com>
Wed, 21 Jun 2023 12:33:09 +0000 (20:33 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 23 Jun 2023 08:59:17 +0000 (10:59 +0200)
commited1c6f35b73ec9249c07ebbd300423155c7baac3
tree77826db4d1beaf4b005a08d12492f2010395a3bf
parent1cf3d5567f273a8746d1bade00633a93204f80f0
net: hns3: clear hns unused parameter alarm

Several functions in the hns3 driver have unused parameters.
The compiler will warn about them when building
with -Wunused-parameter option of hns3.

Signed-off-by: Peiyang Wang <wangpeiyang1@huawei.com>
Signed-off-by: Hao Lan <lanhao@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.c
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_rss.h
drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c