[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190901.121316.444864364160353651.davem@redhat.com>
Date: Sun, 01 Sep 2019 12:13:16 -0700 (PDT)
From: David Miller <davem@...hat.com>
To: yuehaibing@...wei.com
Cc: yisen.zhuang@...wei.com, salil.mehta@...wei.com,
linyunsheng@...wei.com, liuzhongzhu@...wei.com,
huangguangbin2@...wei.com, lipeng321@...wei.com,
tanhuazhong@...wei.com, shenjian15@...wei.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
hulkci@...wei.com
Subject: Re: [PATCH net-next] net: hns3: remove set but not used variable
'qos'
From: YueHaibing <yuehaibing@...wei.com>
Date: Sat, 31 Aug 2019 12:29:11 +0000
> 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@...wei.com>
> Fixes: 70a214903da9 ("net: hns3: reduce the parameters of some functions")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists