net: liquidio: Remove set but not used variable
authorZheng Yongjun <zhengyongjun3@huawei.com>
Sat, 19 Sep 2020 01:31:23 +0000 (09:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 21:13:18 +0000 (14:13 -0700)
commit47dae52b0096ee26cc834c922007aa72aab63dc6
tree3919c76e45da7bdf3797888ed25cada58afca72e
parenta5a3303e26cdf6867bc1f4cdd3f0a56673d70ea7
net: liquidio: Remove set but not used variable

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

drivers/net/ethernet/cavium/liquidio/octeon_device.c: In function lio_pci_readq:
drivers/net/ethernet/cavium/liquidio/octeon_device.c:1327:6: warning: variable ‘val32’ set but not used [-Wunused-but-set-variable]

drivers/net/ethernet/cavium/liquidio/octeon_device.c: In function lio_pci_writeq:
drivers/net/ethernet/cavium/liquidio/octeon_device.c:1358:6: warning: variable ‘val32’ set but not used [-Wunused-but-set-variable]

these variable is never used, so remove it.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/octeon_device.c