* [2.6 patch] drivers/char/sysrq.c: remove the unused sysrq_power_off
@ 2005-01-31 17:39 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-31 17:39 UTC (permalink / raw)
To: linux-kernel
sysrq_power_off was completely unused.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.11-rc2-mm2-full/drivers/char/sysrq.c.old 2005-01-31 15:42:32.000000000 +0100
+++ linux-2.6.11-rc2-mm2-full/drivers/char/sysrq.c 2005-01-31 15:42:55.000000000 +0100
@@ -59,9 +59,6 @@
/* Whether we react on sysrq keys or just ignore them */
int sysrq_enabled = 1;
-/* Machine specific power off function */
-void (*sysrq_power_off)(void);
-
/* Loglevel sysrq handler */
static void sysrq_handle_loglevel(int key, struct pt_regs *pt_regs,
struct tty_struct *tty)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [2.6 patch] drivers/char/sysrq.c: remove the unused sysrq_power_off
@ 2005-02-24 23:40 Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-02-24 23:40 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
sysrq_power_off was completely unused.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 31 Jan 2005
--- linux-2.6.11-rc2-mm2-full/drivers/char/sysrq.c.old 2005-01-31 15:42:32.000000000 +0100
+++ linux-2.6.11-rc2-mm2-full/drivers/char/sysrq.c 2005-01-31 15:42:55.000000000 +0100
@@ -59,9 +59,6 @@
/* Whether we react on sysrq keys or just ignore them */
int sysrq_enabled = 1;
-/* Machine specific power off function */
-void (*sysrq_power_off)(void);
-
/* Loglevel sysrq handler */
static void sysrq_handle_loglevel(int key, struct pt_regs *pt_regs,
struct tty_struct *tty)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-25 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-31 17:39 [2.6 patch] drivers/char/sysrq.c: remove the unused sysrq_power_off Adrian Bunk
-- strict thread matches above, loose matches on Subject: below --
2005-02-24 23:40 Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox