Re: apm.c: get rid of unused variables

From: Parag Warudkar
Date: Sun Mar 25 2007 - 13:08:01 EST


On 3/25/07, Adrian Bunk <bunk@xxxxxxxxx> wrote:
On Sun, Mar 25, 2007 at 12:06:19PM -0400, Parag Warudkar wrote:
You could also remove the APM_RTC_IS_GMT config option.


Yep, that isn't used anymore. Separate Kconfig patch below and also attached.

Parag

Signed-off-by: Parag Warudkar <parag.warudkar@xxxxxxxxx>

--- linux-2.6/arch/i386/Kconfig 2007-03-24 21:43:35.000000000 -0400
+++ linux-2.6-wk/arch/i386/Kconfig 2007-03-25 12:58:18.000000000 -0400
@@ -1029,19 +1029,6 @@
backlight at all, or it might print a lot of errors to the console,
especially if you are using gpm.

-config APM_RTC_IS_GMT
- bool "RTC stores time in GMT"
- depends on APM
- help
- Say Y here if your RTC (Real Time Clock a.k.a. hardware clock)
- stores the time in GMT (Greenwich Mean Time). Say N if your RTC
- stores localtime.
-
- It is in fact recommended to store GMT in your RTC, because then you
- don't have to worry about daylight savings time changes. The only
- reason not to use GMT in your RTC is if you also run a broken OS
- that doesn't understand GMT.
-
config APM_ALLOW_INTS
bool "Allow interrupts during APM BIOS calls"
depends on APM
--- linux-2.6/arch/i386/Kconfig 2007-03-24 21:43:35.000000000 -0400
+++ linux-2.6-wk/arch/i386/Kconfig 2007-03-25 12:58:18.000000000 -0400
@@ -1029,19 +1029,6 @@
backlight at all, or it might print a lot of errors to the console,
especially if you are using gpm.

-config APM_RTC_IS_GMT
- bool "RTC stores time in GMT"
- depends on APM
- help
- Say Y here if your RTC (Real Time Clock a.k.a. hardware clock)
- stores the time in GMT (Greenwich Mean Time). Say N if your RTC
- stores localtime.
-
- It is in fact recommended to store GMT in your RTC, because then you
- don't have to worry about daylight savings time changes. The only
- reason not to use GMT in your RTC is if you also run a broken OS
- that doesn't understand GMT.
-
config APM_ALLOW_INTS
bool "Allow interrupts during APM BIOS calls"
depends on APM