]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: hisilicon: hns_mdio: remove incorrect ACPI_PTR annotation
authorArnd Bergmann <arnd@arndb.de>
Tue, 25 Feb 2025 16:33:32 +0000 (17:33 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 27 Feb 2025 12:42:15 +0000 (13:42 +0100)
commit9355f7277d6987f7b6c087cca1b565713519a510
tree0d860ccdd35f69d1429753e5d8094b0541bb9ff4
parentaf4a5da8ed54561b7e856534cf62ea07632e7b7b
net: hisilicon: hns_mdio: remove incorrect ACPI_PTR annotation

Building with W=1 shows a warning about hns_mdio_acpi_match being unused when
CONFIG_ACPI is disabled:

drivers/net/ethernet/hisilicon/hns_mdio.c:631:36: error: unused variable 'hns_mdio_acpi_match' [-Werror,-Wunused-const-variable]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20250225163341.4168238-1-arnd@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/hisilicon/hns_mdio.c