summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-08-17 21:15:46 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-08-19 22:07:06 -0700
commit1495cc9df4e81f5a8fa9b0b8f1034b14d24b7d8c (patch)
tree7a08852f9fb0cb3073367ef84c0218af0b5479f7 /drivers/net
parentda5cabf80e2433131bf0ed8993abc0f7ea618c73 (diff)
downloadlinux-stable-1495cc9df4e81f5a8fa9b0b8f1034b14d24b7d8c.tar.gz
linux-stable-1495cc9df4e81f5a8fa9b0b8f1034b14d24b7d8c.tar.bz2
linux-stable-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 'drivers/net')
-rw-r--r--drivers/net/ibm_newemac/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ibm_newemac/debug.c b/drivers/net/ibm_newemac/debug.c
index 3995fafc1e08..8c6c1e2a8750 100644
--- a/drivers/net/ibm_newemac/debug.c
+++ b/drivers/net/ibm_newemac/debug.c
@@ -238,7 +238,7 @@ void emac_dbg_dump_all(void)
}
#if defined(CONFIG_MAGIC_SYSRQ)
-static void emac_sysrq_handler(int key, struct tty_struct *tty)
+static void emac_sysrq_handler(int key)
{
emac_dbg_dump_all();
}