[2.6 patch] drivers/char/sysrq.c: remove the unused sysrq_power_off

From: Adrian Bunk
Date: Mon Jan 31 2005 - 12:53:00 EST


sysrq_power_off was completely unused.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- 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)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/