[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0703251158400.17623@paragw-desktop>
Date: Sun, 25 Mar 2007 12:06:19 -0400 (EDT)
From: Parag Warudkar <parag.warudkar@...il.com>
To: linux-kernel@...r.kernel.org
cc: sfr@...b.auug.org.au, akpm@...ux-foundation.org,
torvalds@...ux-foundation.org
Subject: apm.c: get rid of unused variables
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@...il.com>
--- 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@...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