liquidio: remove set but not used variable 'is25G'
authorYueHaibing <yuehaibing@huawei.com>
Mon, 13 Aug 2018 09:29:36 +0000 (17:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Aug 2018 16:21:05 +0000 (09:21 -0700)
commit45c91fb200936b2c48e8605539d800a61abb1cbf
treee4d44505e43b762529c9e08a7fe7c04cbb9f0783
parent0ec456802d133e0eeb4d9ac4283a9982ad9b89af
liquidio: remove set but not used variable 'is25G'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/cavium/liquidio/lio_ethtool.c: In function 'lio_set_link_ksettings':
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c:392:6: warning:
 variable 'is25G' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c