diff options
author | 2024-04-03 10:06:46 +0200 | |
---|---|---|
committer | 2024-04-05 22:11:28 -0700 | |
commit | 0ef416e045ad7083933b469b6ca7968d1cc0eb80 (patch) | |
tree | b5b3cd6b813247c2d55b8e7042217caa1eb2bbb5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | isdn: kcapi: don't build unused procfs code (diff) | |
download | wireguard-linux-0ef416e045ad7083933b469b6ca7968d1cc0eb80.tar.xz wireguard-linux-0ef416e045ad7083933b469b6ca7968d1cc0eb80.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions