[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200430.205709.487917711279767086.davem@davemloft.net>
Date: Thu, 30 Apr 2020 20:57:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhengbin13@...wei.com
Cc: aviad.krawczyk@...wei.com, netdev@...r.kernel.org
Subject: Re: [PATCH -next] hinic: remove set but not used variable 'func_id'
From: Zheng Bin <zhengbin13@...wei.com>
Date: Wed, 29 Apr 2020 09:23:57 +0800
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/huawei/hinic/hinic_sriov.c:792:6: warning: variable ‘func_id’ set but not used [-Wunused-but-set-variable]
>
> It is introduced by commit 7dd29ee12865 ("hinic:
> add sriov feature support"), but never used,
> so remove it.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Zheng Bin <zhengbin13@...wei.com>
This does not apply cleanly to the net-next tree.
Powered by blists - more mailing lists