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

From: Adrian Bunk (bunk_at_stusta.de)
Date: 01/31/05

  • Next message: Adrian Bunk: "[2.6 patch] drivers/char/specialix.c: misc cleanups"
    Date:	Mon, 31 Jan 2005 18:39:50 +0100
    To: linux-kernel@vger.kernel.org
    
    

    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)

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


  • Next message: Adrian Bunk: "[2.6 patch] drivers/char/specialix.c: misc cleanups"

    Relevant Pages

    • Re: Need some help to debug a freeze on 2.6.11
      ... can I configure netconsole for my ethernet port and ... I will probably lose the oops message, but won't I be able to use ... which SysRq keys should help me debug the problem? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • crash with 2.6.0-test7
      ... regularly freezes (SysRq keys not working any more) ... and/or panics and outputs the following ... on the console: ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] [PATCH] Adding ctrl-o sysrq hack support to 8250 driver
      ... > The following patch will allow a user to use sysrq keys over a serial ... > provided by the hvc console drivers on PPC boxes. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [2.6 patch] drivers/char/sysrq.c: remove the unused sysrq_power_off
      ... /* Whether we react on sysrq keys or just ignore them */ ... int sysrq_enabled = 1; ... static void sysrq_handle_loglevel(int key, struct pt_regs *pt_regs, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)