Commit d2ffc740 authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman
Browse files

UM: TTY: fix build errors now that tty->raw is gone



Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
parent ca364d83
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
@@ -83,20 +83,7 @@ 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;
		}
	}

	if (tty)
		tty_insert_flip_char(tty, ch, TTY_NORMAL);
}