apm.c: get rid of unused variables

From: Parag Warudkar
Date: Sun Mar 25 2007 - 12:06:43 EST



The patch below (against latest git) gets rid of following unused variables - clock_cmos_diff and got_clock_diff.

2 less compiler warnings.

Compile tested on i386.

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

--- linux-2.6/arch/i386/kernel/apm.c 2007-03-24 21:43:35.000000000 -0400
+++ linux-2.6-wk/arch/i386/kernel/apm.c 2007-03-25 11:50:16.000000000 -0400
@@ -384,13 +384,6 @@
static int ignore_normal_resume;
static int bounce_interval __read_mostly = DEFAULT_BOUNCE_INTERVAL;

-#ifdef CONFIG_APM_RTC_IS_GMT
-# define clock_cmos_diff 0
-# define got_clock_diff 1
-#else
-static long clock_cmos_diff;
-static int got_clock_diff;
-#endif
static int debug __read_mostly;
static int smp __read_mostly;
static int apm_disabled = -1;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/