diff --git a/[refs] b/[refs] index 1ebee48f2ed8..e7a2268bb231 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 56e139f62bd7b82430cfcf01fcbd42e1d84fb738 +refs/heads/master: 8a7f7c9307962ffdf81561ec8742fde1fad9fe10 diff --git a/trunk/drivers/char/mxser.c b/trunk/drivers/char/mxser.c index 5ddbd5b2a4c1..2ad9dc80cae0 100644 --- a/trunk/drivers/char/mxser.c +++ b/trunk/drivers/char/mxser.c @@ -1081,7 +1081,7 @@ static int mxser_write(struct tty_struct *tty, const unsigned char *buf, int cou struct mxser_struct *info = tty->driver_data; unsigned long flags; - if (!tty || !info->xmit_buf) + if (!info->xmit_buf) return (0); while (1) { @@ -1117,7 +1117,7 @@ static void mxser_put_char(struct tty_struct *tty, unsigned char ch) struct mxser_struct *info = tty->driver_data; unsigned long flags; - if (!tty || !info->xmit_buf) + if (!info->xmit_buf) return; if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1)