aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2022-04-22 06:26:53 +0000
committerGreg Kroah-Hartman <[email protected]>2022-04-23 10:53:11 +0000
commitc95ce3a23dcda678f6f7811dd39b6d14eeb6f192 (patch)
tree857264d95fffd5f0a191fa1e41a21d07ae823aa1 /tools/perf/scripts/python/exported-sql-viewer.py
parentarch_topology: Do not set llc_sibling if llc_id is invalid (diff)
downloadkernel-c95ce3a23dcda678f6f7811dd39b6d14eeb6f192.tar.gz
kernel-c95ce3a23dcda678f6f7811dd39b6d14eeb6f192.zip
topology: Fix up build warning in topology_is_visible()
Commit aa63a74d4535 ("topology/sysfs: Hide PPIN on systems that do not support it.") caused a build warning on some configurations: drivers/base/topology.c: In function 'topology_is_visible': drivers/base/topology.c:158:24: warning: unused variable 'dev' [-Wunused-variable] 158 | struct device *dev = kobj_to_dev(kobj); Fix this up by getting rid of the variable entirely. Fixes: aa63a74d4535 ("topology/sysfs: Hide PPIN on systems that do not support it.") Cc: Tony Luck <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions