mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
85d2c5cde1
When CONFIG_ACPI is unset (arm allyesconfig), status is unused.
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c:383:14: warning:
unused variable 'status' [-Wunused-variable]
acpi_status status;
^
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c:440:14: warning:
unused variable 'status' [-Wunused-variable]
acpi_status status;
^
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c:697:14: warning: unused
variable 'status' [-Wunused-variable]
acpi_status status;
^
Move the declaration into the CONFIG_ACPI block so that there are no
compiler warnings.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
xgene_enet_cle.c | ||
xgene_enet_cle.h | ||
xgene_enet_ethtool.c | ||
xgene_enet_hw.c | ||
xgene_enet_hw.h | ||
xgene_enet_main.c | ||
xgene_enet_main.h | ||
xgene_enet_ring2.c | ||
xgene_enet_ring2.h | ||
xgene_enet_sgmac.c | ||
xgene_enet_sgmac.h | ||
xgene_enet_xgmac.c | ||
xgene_enet_xgmac.h |