diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-08-13 14:59:02 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-13 09:21:05 -0700 |
commit | 0ec456802d133e0eeb4d9ac4283a9982ad9b89af (patch) | |
tree | a0f1f28de67b75622842eb4f4aa53dfbfd8f932d /drivers/net/ethernet/cavium | |
parent | 3b20818b0acdd493e5b891140310b1435cccf81b (diff) |
cxgb4: remove set but not used variable 'spd'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c: In function 'print_port_info':
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c:5147:14: warning:
variable 'spd' set but not used [-Wunused-but-set-variable]
variable 'spd' is set but not used since
commit 547fd27241a8 ("cxgb4: Warn if device doesn't have enough PCI bandwidth")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium')
0 files changed, 0 insertions, 0 deletions