liquidio CN23XX: Remove set but not used variable 'ring_flag'
authorYueHaibing <yuehaibing@huawei.com>
Thu, 6 Sep 2018 11:22:09 +0000 (11:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Sep 2018 22:53:47 +0000 (15:53 -0700)
commitddc4d236dc71b255ff4cb8394f5fce2739a1d138
treed14dcad90eaddc523dd5947b0c3de1b70068ee01
parent488752220b4a73ae131ca3e7c0c83b9f1bf092e4
liquidio CN23XX: Remove set but not used variable 'ring_flag'

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

drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c: In function 'cn23xx_setup_octeon_vf_device':
drivers/net/ethernet/cavium/liquidio/cn23xx_vf_device.c:619:20: warning:
 variable 'ring_flag' 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/cn23xx_vf_device.c