diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-09-19 04:31:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-20 00:13:18 +0300 |
commit | 47dae52b0096ee26cc834c922007aa72aab63dc6 (patch) | |
tree | 3919c76e45da7bdf3797888ed25cada58afca72e /.clang-format | |
parent | a5a3303e26cdf6867bc1f4cdd3f0a56673d70ea7 (diff) | |
download | linux-47dae52b0096ee26cc834c922007aa72aab63dc6.tar.xz |
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>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions