aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2024-04-03 10:06:46 +0200
committerJakub Kicinski <kuba@kernel.org>2024-04-05 22:11:28 -0700
commit0ef416e045ad7083933b469b6ca7968d1cc0eb80 (patch)
treeb5b3cd6b813247c2d55b8e7042217caa1eb2bbb5 /net/ipv4/tcp_input.c
parent91188544af06f1bed76fe71cb1caebd96c833eac (diff)
downloadlinux-0ef416e045ad7083933b469b6ca7968d1cc0eb80.tar.gz
linux-0ef416e045ad7083933b469b6ca7968d1cc0eb80.tar.bz2
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 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions