UM: TTY: fix build errors now that tty->raw is gone
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
ca364d8388
commit
d2ffc740f3
@@ -83,20 +83,7 @@ static const struct chan_ops not_configged_ops = {
|
|||||||
|
|
||||||
static void tty_receive_char(struct tty_struct *tty, char ch)
|
static void tty_receive_char(struct tty_struct *tty, char ch)
|
||||||
{
|
{
|
||||||
if (tty == NULL)
|
if (tty)
|
||||||
return;
|
|
||||||
|
|
||||||
if (I_IXON(tty) && !I_IXOFF(tty) && !tty->raw) {
|
|
||||||
if (ch == STOP_CHAR(tty)) {
|
|
||||||
stop_tty(tty);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
else if (ch == START_CHAR(tty)) {
|
|
||||||
start_tty(tty);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
tty_insert_flip_char(tty, ch, TTY_NORMAL);
|
tty_insert_flip_char(tty, ch, TTY_NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user