linux_dsm_epyc7002/drivers/net/ethernet/apm/xgene
Nathan Chancellor 2ab4c3426c drivers: net: xgene: Remove unnecessary forward declarations
Clang warns:

drivers/net/ethernet/apm/xgene/xgene_enet_main.c:33:36: warning:
tentative array definition assumed to have one element
static const struct acpi_device_id xgene_enet_acpi_match[];
                                   ^
1 warning generated.

Both xgene_enet_acpi_match and xgene_enet_of_match are defined before
their uses at the bottom of the file so this is unnecessary. When
CONFIG_ACPI is disabled, ACPI_PTR becomes NULL so xgene_enet_acpi_match
doesn't need to be defined.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-12-14 13:35:27 -08:00
..
Kconfig net: Remove depends on HAS_DMA in case of platform dependency 2018-06-23 10:44:30 +09:00
Makefile drivers: net: xgene: Add support for Classifier engine 2016-02-17 22:08:34 -05:00
xgene_enet_cle.c net: xgene: move xgene_cle_ptree_ewdn data off stack 2016-12-08 21:30:54 -05:00
xgene_enet_cle.h net: xgene: move xgene_cle_ptree_ewdn data off stack 2016-12-08 21:30:54 -05:00
xgene_enet_ethtool.c net: ethernet: Add helper to determine if pause configuration is supported 2018-09-12 20:24:21 -07:00
xgene_enet_hw.c net: ethernet: Add helper for MACs which support asym pause 2018-09-12 20:24:21 -07:00
xgene_enet_hw.h drivers: net: xgene: Add rx_overrun/tx_underrun statistics 2017-05-16 11:41:10 -04:00
xgene_enet_main.c drivers: net: xgene: Remove unnecessary forward declarations 2018-12-14 13:35:27 -08:00
xgene_enet_main.h drivers: net: xgene: Workaround for HW errata 10GE_10/ENET_15 2017-05-16 11:41:10 -04:00
xgene_enet_ring2.c drivers: net: xgene: Add support for Jumbo frame 2016-12-03 15:46:50 -05:00
xgene_enet_ring2.h drivers: net: xgene: Add ring manager v2 functions 2015-04-30 16:03:13 -04:00
xgene_enet_sgmac.c drivers: net: xgene: Fix redundant prefetch buffer cleanup 2017-05-16 11:41:11 -04:00
xgene_enet_sgmac.h drivers: net: xgene: Fix module unload crash - clkrst sequence 2016-07-25 21:51:43 -07:00
xgene_enet_xgmac.c drivers: net: xgene: Fix redundant prefetch buffer cleanup 2017-05-16 11:41:11 -04:00
xgene_enet_xgmac.h drivers: net: xgene: Add rx_overrun/tx_underrun statistics 2017-05-16 11:41:10 -04:00