[PATCH] Char: tty_wakeup cleanup
[linux-drm-fsl-dcu.git] / drivers / char / specialix.c
index 20946f5127e0ca97b8b902fe3e22ae464722bcbf..92043c8f23554137d3f6c0a1c7c750049a12030e 100644 (file)
@@ -2350,10 +2350,8 @@ static void do_softint(struct work_struct *work)
                return;
        }
 
-       if (test_and_clear_bit(RS_EVENT_WRITE_WAKEUP, &port->event)) {
+       if (test_and_clear_bit(RS_EVENT_WRITE_WAKEUP, &port->event))
                tty_wakeup(tty);
-               //wake_up_interruptible(&tty->write_wait);
-       }
 
        func_exit();
 }