aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/mxser.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/mxser.c')
-rw-r--r--drivers/char/mxser.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/char/mxser.c b/drivers/char/mxser.c
index 308cb6014002..8beef50f95a0 100644
--- a/drivers/char/mxser.c
+++ b/drivers/char/mxser.c
@@ -616,9 +616,6 @@ static int mxser_set_baud(struct tty_struct *tty, long newspd)
616 int quot = 0, baud; 616 int quot = 0, baud;
617 unsigned char cval; 617 unsigned char cval;
618 618
619 if (!tty->termios)
620 return -1;
621
622 if (!info->ioaddr) 619 if (!info->ioaddr)
623 return -1; 620 return -1;
624 621
@@ -688,8 +685,6 @@ static int mxser_change_speed(struct tty_struct *tty,
688 int ret = 0; 685 int ret = 0;
689 unsigned char status; 686 unsigned char status;
690 687
691 if (!tty->termios)
692 return ret;
693 cflag = tty->termios->c_cflag; 688 cflag = tty->termios->c_cflag;
694 if (!info->ioaddr) 689 if (!info->ioaddr)
695 return ret; 690 return ret;