--- zzzz-none-000/linux-2.6.39.4/drivers/acpi/glue.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/drivers/acpi/glue.c 2021-11-10 13:38:14.000000000 +0000 @@ -161,7 +161,7 @@ status = acpi_bus_get_device(handle, &acpi_dev); if (!ACPI_FAILURE(status)) { - int ret; + int ret __maybe_unused; ret = sysfs_create_link(&dev->kobj, &acpi_dev->dev.kobj, "firmware_node");