[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200110.231555.1390807442365734004.davem@davemloft.net>
Date: Fri, 10 Jan 2020 23:15:55 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: amaftei@...arflare.com, ecree@...arflare.com,
mhabets@...arflare.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
hulkci@...wei.com
Subject: Re: [PATCH net-next] sfc: remove set but not used variable
'nic_data'
From: YueHaibing <yuehaibing@...wei.com>
Date: Fri, 10 Jan 2020 06:09:08 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/sfc/mcdi_functions.c: In function 'efx_mcdi_ev_init':
> drivers/net/ethernet/sfc/mcdi_functions.c:79:28: warning:
> variable 'nic_data' set but not used [-Wunused-but-set-variable]
>
> commit 4438b587fe4b ("sfc: move MCDI event queue management code")
> introduces this unused variable.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists