diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-08-18 00:15:47 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-08-21 03:37:39 -0400 |
commit | 6ee9f4b4affe751d313d2538999aeec134d413a6 (patch) | |
tree | e7515b333f1770db976de4d6989cc3bc7955b322 /drivers/usb/serial/ssu100.c | |
parent | f335397d177c906256ee1bba28e8c49e8ec63817 (diff) |
USB: drop tty argument from usb_serial_handle_sysrq_char()
Since handle_sysrq() does not take tty as argument anymore we can
drop it from usb_serial_handle_sysrq_char() as well.
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/usb/serial/ssu100.c')
-rw-r--r-- | drivers/usb/serial/ssu100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/ssu100.c b/drivers/usb/serial/ssu100.c index 6e82d4f54bc8..819de4740388 100644 --- a/drivers/usb/serial/ssu100.c +++ b/drivers/usb/serial/ssu100.c | |||
@@ -596,7 +596,7 @@ static int ssu100_process_packet(struct tty_struct *tty, | |||
596 | 596 | ||
597 | if (port->port.console && port->sysrq) { | 597 | if (port->port.console && port->sysrq) { |
598 | for (i = 0; i < len; i++, ch++) { | 598 | for (i = 0; i < len; i++, ch++) { |
599 | if (!usb_serial_handle_sysrq_char(tty, port, *ch)) | 599 | if (!usb_serial_handle_sysrq_char(port, *ch)) |
600 | tty_insert_flip_char(tty, *ch, flag); | 600 | tty_insert_flip_char(tty, *ch, flag); |
601 | } | 601 | } |
602 | } else | 602 | } else |