Skip to content

Commit

Permalink
UM: TTY: fix build errors now that tty->raw is gone
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Oct 30, 2012
1 parent ca364d8 commit d2ffc74
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions arch/um/drivers/chan_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,8 @@ static const struct chan_ops not_configged_ops = {

static void tty_receive_char(struct tty_struct *tty, char ch)
{
if (tty == NULL)
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);
if (tty)
tty_insert_flip_char(tty, ch, TTY_NORMAL);
}

static int open_one_chan(struct chan *chan)
Expand Down

0 comments on commit d2ffc74

Please sign in to comment.