liquidio: remove set but not used variable 's'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 19 Mar 2020 12:07:43 +0000 (12:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2020 04:00:14 +0000 (21:00 -0700)
commit4ab10bb8ffa4892fb753a3fedac8a33582d91667
treec498ecb1e69c2bbe7268f09d295bf474d5012a21
parent3ebaf6da07168c3ab80dac71e063a9ae5a6882ff
liquidio: remove set but not used variable 's'

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@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_main.c