diff options
| author | Nathan Chancellor <[email protected]> | 2018-12-11 04:20:30 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-14 21:35:27 +0000 |
| commit | 2ab4c3426c0cf711d7147e3f559638e4ab88960e (patch) | |
| tree | 20d1da9b69acb7bd8f811f23eccc4b9057466460 /net/tls/tls_main.c | |
| parent | tipc: compare remote and local protocols in tipc_udp_enable() (diff) | |
| download | kernel-2ab4c3426c0cf711d7147e3f559638e4ab88960e.tar.gz kernel-2ab4c3426c0cf711d7147e3f559638e4ab88960e.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions
