summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-04-03 11:06:46 +0300
committerJakub Kicinski <kuba@kernel.org>2024-04-06 08:11:28 +0300
commit0ef416e045ad7083933b469b6ca7968d1cc0eb80 (patch)
treeb5b3cd6b813247c2d55b8e7042217caa1eb2bbb5 /tools/perf/scripts/python/export-to-sqlite.py
parent91188544af06f1bed76fe71cb1caebd96c833eac (diff)
downloadlinux-0ef416e045ad7083933b469b6ca7968d1cc0eb80.tar.xz
net: xgbe: remove extraneous #ifdef checks
When both ACPI and OF are disabled, xgbe_v1 is unused and causes a W=1 warning: drivers/net/ethernet/amd/xgbe/xgbe-platform.c:533:39: error: unused variable 'xgbe_v1' [-Werror,-Wunused-const-variable] static const struct xgbe_version_data xgbe_v1 = { There is no real point in trying to save a few bytes for the match tables, so just make them always visible. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20240403080702.3509288-29-arnd@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions