aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-12-04 14:08:00 +0200
committerJakub Kicinski <[email protected]>2020-12-05 14:56:23 -0800
commit4560b2a3ecdd5d587c4c6eea4339899f173a559a (patch)
treed392b09cfe9a48d38a31a09c6447c01658632769 /tools/perf/scripts/python/check-perf-trace.py
parenta7e1abad13f3f0366ee625831fecda2b603cdc17 (diff)
enetc: Fix unused var build warning for CONFIG_OF
When CONFIG_OF is disabled, there is a harmless warning about an unused variable: enetc_pf.c: In function 'enetc_phylink_create': enetc_pf.c:981:17: error: unused variable 'dev' [-Werror=unused-variable] Slightly rearrange the code to pass around the of_node as a function argument, which avoids the problem without hurting readability. Fixes: 71b77a7a27a3 ("enetc: Migrate to PHYLINK and PCS_LYNX") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Claudiu Manoil <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions