VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Jiri Slaby <jirislaby@gmail.com> 2007-02-10 01:44:55 -0800 committer: Linus Torvalds <torvalds@woody.linux-foundation.org> 2007-02-11 10:51:26 -0800 commit: b963a8441cb95999c97bea379607071a869c65f0 parent: 1ed0c0b7306d7c93e83ebe30087a12684b280cdc
Commit Summary:
[PATCH] Char: tty_wakeup cleanup
Diffstat:
1 file changed, 1 insertion, 3 deletions
diff --git a/drivers/tc/zs.c b/drivers/tc/zs.c
index fc3197273663..3d72aa5cfc71 100644
--- a/drivers/tc/zs.c
+++ b/drivers/tc/zs.c
@@ -626,10 +626,8 @@ static void do_softint(unsigned long private_)
 	if (!tty)
 		return;
 
-	if (test_and_clear_bit(RS_EVENT_WRITE_WAKEUP, &info->event)) {
+	if (test_and_clear_bit(RS_EVENT_WRITE_WAKEUP, &info->event))
 		tty_wakeup(tty);
-		wake_up_interruptible(&tty->write_wait);
-	}
 }
 
 static int zs_startup(struct dec_serial * info)