diff options
| author | Arnd Bergmann <[email protected]> | 2024-04-03 10:06:46 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-05 22:11:28 -0700 |
| commit | 0ef416e045ad7083933b469b6ca7968d1cc0eb80 (patch) | |
| tree | b5b3cd6b813247c2d55b8e7042217caa1eb2bbb5 /net/lapb/lapb_subr.c | |
| parent | 91188544af06f1bed76fe71cb1caebd96c833eac (diff) | |
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions