diff options
| author | Arnd Bergmann <[email protected]> | 2024-04-03 08:06:46 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-06 05:11:28 +0000 |
| commit | 0ef416e045ad7083933b469b6ca7968d1cc0eb80 (patch) | |
| tree | b5b3cd6b813247c2d55b8e7042217caa1eb2bbb5 /tools/net/ynl/lib/ynl.py | |
| parent | isdn: kcapi: don't build unused procfs code (diff) | |
| download | kernel-0ef416e045ad7083933b469b6ca7968d1cc0eb80.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions
