]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove set but not used variable 'qos'
authorYueHaibing <yuehaibing@huawei.com>
Sat, 31 Aug 2019 12:29:11 +0000 (12:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2019 19:12:59 +0000 (12:12 -0700)
commit9edb313234f3070c9cb4a6550b715063db15a301
tree14952f3316acbafb7aa0f0d0ed552e9557c28028
parent1d7e0c5767791fb85996ad744b8202146c8ca167
net: hns3: remove set but not used variable 'qos'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c: In function 'hclge_restore_vlan_table':
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c:8016:18: warning:
 variable 'qos' set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 597f84f062ce ("net: hns3: reduce the parameters of some functions")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c