[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191213000657.931618-34-dima@arista.com>
Date: Fri, 13 Dec 2019 00:06:32 +0000
From: Dmitry Safonov <dima@...sta.com>
To: linux-kernel@...r.kernel.org
Cc: Dmitry Safonov <0x7f454c46@...il.com>,
Dmitry Safonov <dima@...sta.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>,
Vasiliy Khoruzhick <vasilykh@...sta.com>,
linux-serial@...r.kernel.org
Subject: [PATCH 33/58] serial/f81534: Don't check port->sysrq
usb_serial_handle_sysrq_char() already checks it.
Signed-off-by: Dmitry Safonov <dima@...sta.com>
---
drivers/usb/serial/f81534.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/serial/f81534.c b/drivers/usb/serial/f81534.c
index 2b39bda035c7..67a8e343eba1 100644
--- a/drivers/usb/serial/f81534.c
+++ b/drivers/usb/serial/f81534.c
@@ -1238,10 +1238,8 @@ static void f81534_process_per_serial_block(struct usb_serial_port *port,
schedule_work(&port_priv->lsr_work);
}
- if (port->port.console && port->sysrq) {
- if (usb_serial_handle_sysrq_char(port, data[i]))
- continue;
- }
+ if (usb_serial_handle_sysrq_char(port, data[i]))
+ continue;
tty_insert_flip_char(&port->port, data[i], tty_flag);
}
--
2.24.0
Powered by blists - more mailing lists