summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/tty/serial/sunhv.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/tty/serial/sunhv.c')
-rw-r--r--kernel/drivers/tty/serial/sunhv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/drivers/tty/serial/sunhv.c b/kernel/drivers/tty/serial/sunhv.c
index ca0d3802f..4e603d060 100644
--- a/kernel/drivers/tty/serial/sunhv.c
+++ b/kernel/drivers/tty/serial/sunhv.c
@@ -490,12 +490,6 @@ static void sunhv_console_write_bychar(struct console *con, const char *s, unsig
locked = spin_trylock_irqsave(&port->lock, flags);
else
spin_lock_irqsave(&port->lock, flags);
- if (port->sysrq) {
- locked = 0;
- } else if (oops_in_progress) {
- locked = spin_trylock(&port->lock);
- } else
- spin_lock(&port->lock);
for (i = 0; i < n; i++) {
if (*s == '\n')