--- zzzz-none-000/linux-3.10.107/drivers/tty/ipwireless/tty.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/tty/ipwireless/tty.c 2021-02-04 17:41:59.000000000 +0000 @@ -15,7 +15,6 @@ * Copyright (C) 2007 David Sterba */ -#include #include #include #include @@ -94,11 +93,6 @@ return -ENODEV; mutex_lock(&tty->ipw_tty_mutex); - - if (tty->closing) { - mutex_unlock(&tty->ipw_tty_mutex); - return -ENODEV; - } if (tty->port.count == 0) tty->tx_bytes_queued = 0; @@ -177,9 +171,6 @@ ": %d chars not inserted to flip buffer!\n", length - work); - /* - * This may sleep if ->low_latency is set - */ if (work) tty_flip_buffer_push(&tty->port); }