From: walter harms <wharms@bfs.de>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] linux-2.6.21: apm.c remove unused variables
Date: Fri, 11 May 2007 13:28:36 +0000 [thread overview]
Message-ID: <46446F84.5020000@bfs.de> (raw)
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 <wharms@bfs.de>
--- 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
next reply other threads:[~2007-05-11 13:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-11 13:28 walter harms [this message]
2007-05-28 11:04 ` [KJ] linux-2.6.21: apm.c remove unused variables walter harms
2007-05-28 11:04 ` walter harms
2007-05-28 12:13 ` Florian Westphal
2007-05-28 15:27 ` walter harms
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46446F84.5020000@bfs.de \
--to=wharms@bfs.de \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.