[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200319.210026.1097328564068541611.davem@davemloft.net>
Date: Thu, 19 Mar 2020 21:00:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: dchickles@...vell.com, leonro@...lanox.com, sburla@...vell.com,
fmanlunas@...vell.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
hulkci@...wei.com
Subject: Re: [PATCH net-next] liquidio: remove set but not used variable 's'
From: YueHaibing <yuehaibing@...wei.com>
Date: Thu, 19 Mar 2020 12:07:43 +0000
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/net/ethernet/cavium/liquidio/lio_main.c: In function 'octeon_chip_specific_setup':
> drivers/net/ethernet/cavium/liquidio/lio_main.c:1378:8: warning:
> variable 's' set but not used [-Wunused-but-set-variable]
>
> It's not used since commit b6334be64d6f ("net/liquidio: Delete driver version assignment")
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists