LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* apm.c: get rid of unused variables
@ 2007-03-25 16:06 Parag Warudkar
  2007-03-25 16:25 ` Adrian Bunk
  0 siblings, 1 reply; 4+ messages in thread
From: Parag Warudkar @ 2007-03-25 16:06 UTC (permalink / raw)
  To: linux-kernel; +Cc: sfr, akpm, torvalds


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@gmail.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;

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-25 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-25 16:06 apm.c: get rid of unused variables Parag Warudkar
2007-03-25 16:25 ` Adrian Bunk
2007-03-25 17:07   ` Parag Warudkar
2007-03-25 21:50     ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).