summaryrefslogtreecommitdiffstats
path: root/kernel/debug
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-08-18 06:15:46 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-08-20 07:07:06 +0200
commit1495cc9df4e81f5a8fa9b0b8f1034b14d24b7d8c (patch)
tree7a08852f9fb0cb3073367ef84c0218af0b5479f7 /kernel/debug
parentLinux 2.6.36-rc1 (diff)
downloadlinux-1495cc9df4e81f5a8fa9b0b8f1034b14d24b7d8c.tar.xz
linux-1495cc9df4e81f5a8fa9b0b8f1034b14d24b7d8c.zip
Input: sysrq - drop tty argument from sysrq ops handlers
Noone is using tty argument so let's get rid of it. Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Acked-by: Jason Wessel <jason.wessel@windriver.com> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'kernel/debug')
-rw-r--r--kernel/debug/debug_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c
index 3c2d4972d235..de407c78178d 100644
--- a/kernel/debug/debug_core.c
+++ b/kernel/debug/debug_core.c
@@ -741,7 +741,7 @@ static struct console kgdbcons = {
};
#ifdef CONFIG_MAGIC_SYSRQ
-static void sysrq_handle_dbg(int key, struct tty_struct *tty)
+static void sysrq_handle_dbg(int key)
{
if (!dbg_io_ops) {
printk(KERN_CRIT "ERROR: No KGDB I/O module available\n");