aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-05-27 15:41:06 +0200
committerDavid S. Miller <[email protected]>2020-05-28 12:49:06 -0700
commitb113cabd4378ddd98dccdd7748a16f9f1f094ef0 (patch)
tree279188dbc20d32937572784ff1b967e4e77e8f22 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent62c027883c736d56bbde559f755b1221263a43f2 (diff)
sfc: avoid an unused-variable warning
'nic_data' is no longer used outside of the #ifdef block in efx_ef10_set_mac_address: drivers/net/ethernet/sfc/ef10.c:3231:28: error: unused variable 'nic_data' [-Werror,-Wunused-variable] struct efx_ef10_nic_data *nic_data = efx->nic_data; Move the variable into a local scope. Fixes: dfcabb078847 ("sfc: move vport_id to struct efx_nic") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions