Commit df886b22 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] moxa - dead code removal

Moxa is short the final cleanup from the tty changes so has extra wakeup
calls that can go
parent b90f37ea
......@@ -676,7 +676,6 @@ static void moxa_flush_buffer(struct tty_struct *tty)
return;
MoxaPortFlushData(ch->port, 1);
tty_wakeup(tty);
wake_up_interruptible(&tty->write_wait);
}
static int moxa_chars_in_buffer(struct tty_struct *tty)
......@@ -935,7 +934,6 @@ static void moxa_poll(unsigned long ignored)
if (!tp->stopped) {
ch->statusflags &= ~LOWWAIT;
tty_wakeup(tp);
wake_up_interruptible(&tp->write_wait);
}
}
}
......@@ -1102,7 +1100,6 @@ static void check_xmit_empty(unsigned long data)
if (MoxaPortTxQueue(ch->port) == 0) {
ch->statusflags &= ~EMPTYWAIT;
tty_wakeup(ch->tty);
wake_up_interruptible(&ch->tty->write_wait);
return;
}
moxaEmptyTimer[ch->port].expires = jiffies + HZ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment