Messages in this thread | | | Date | Fri, 8 Jan 2010 13:04:05 +0600 | Subject | Re: [PATCH] acpi: Fix unused variable warning in sbs.c | From | Rakib Mullick <> |
| |
On 1/8/10, Andrew Morton <akpm@linux-foundation.org> wrote:
> > I wonder if it can be fixed in Kconfig. Is there any sane use of > this code when CONFIG_ACPI_SYSFS_POWER=n && CONFIG_ACPI_PROCFS_POWER=n? > No. Making it depend on CONFIG_ACPI_SYSFS_POWER || CONFIG_ACPI_PROCFS_POWER, doesn't make sense too. What about wrapping around acpi_battery_remove with #ifdef from it's calling point.
| |