• Zheng Yongjun's avatar
    net: liquidio: Remove set but not used variable · 47dae52b
    Zheng Yongjun authored
    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: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    47dae52b
octeon_device.c 38.2 KB