[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b9df5fa11001072304i71b7e08ctb4f71504cee4f45d@mail.gmail.com>
Date: Fri, 8 Jan 2010 13:04:05 +0600
From: Rakib Mullick <rakib.mullick@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Len Brown <lenb@...nel.org>,
Alexey Starikovskiy <astarikovskiy@...e.de>
Subject: Re: [PATCH] acpi: Fix unused variable warning in sbs.c
On 1/8/10, Andrew Morton <akpm@...ux-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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists