diff options
author | 2018-08-13 14:59:02 +0800 | |
---|---|---|
committer | 2018-08-13 09:21:05 -0700 | |
commit | 0ec456802d133e0eeb4d9ac4283a9982ad9b89af (patch) | |
tree | a0f1f28de67b75622842eb4f4aa53dfbfd8f932d /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | lan743x: lan743x: Remove duplicated include from lan743x_ptp.c (diff) | |
download | linux-dev-0ec456802d133e0eeb4d9ac4283a9982ad9b89af.tar.xz linux-dev-0ec456802d133e0eeb4d9ac4283a9982ad9b89af.zip |
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 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions