From mboxrd@z Thu Jan 1 00:00:00 1970 From: walter harms Date: Fri, 11 May 2007 13:28:36 +0000 Subject: [KJ] linux-2.6.21: apm.c remove unused variables Message-Id: <46446F84.5020000@bfs.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org Hello list, this patch removes the unused variables clock_cmos_diff got_clock_diff from apm.c note: an other clock_cmos_diff is defined (and used): x86_64/kernel/time.c:static long clock_cmos_diff; Signed-off-by: walter harms --- linux-2.6.21/arch/i386/kernel/apm.c.org 2007-05-11 15:25:06.000000000 +0200 +++ linux-2.6.21/arch/i386/kernel/apm.c 2007-05-11 15:25:47.000000000 +0200 @@ -383,14 +383,6 @@ static int ignore_sys_suspend; 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; _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors