aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/serial/visor.c8
-rw-r--r--drivers/usb/serial/whiteheat.c9
2 files changed, 0 insertions, 17 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c
index acd0eae3b146..7d84a7647e81 100644
--- a/drivers/usb/serial/visor.c
+++ b/drivers/usb/serial/visor.c
@@ -948,14 +948,6 @@ static void visor_set_termios (struct usb_serial_port *port, struct ktermios *ol
948 } 948 }
949 949
950 cflag = port->tty->termios->c_cflag; 950 cflag = port->tty->termios->c_cflag;
951 /* check that they really want us to change something */
952 if (old_termios) {
953 if ((cflag == old_termios->c_cflag) &&
954 (RELEVANT_IFLAG(port->tty->termios->c_iflag) == RELEVANT_IFLAG(old_termios->c_iflag))) {
955 dbg("%s - nothing to change...", __FUNCTION__);
956 return;
957 }
958 }
959 951
960 /* get the byte size */ 952 /* get the byte size */
961 switch (cflag & CSIZE) { 953 switch (cflag & CSIZE) {
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c
index 8611ee569613..cc8b44c08712 100644
--- a/drivers/usb/serial/whiteheat.c
+++ b/drivers/usb/serial/whiteheat.c
@@ -891,15 +891,6 @@ static void whiteheat_set_termios(struct usb_serial_port *port, struct ktermios
891 goto exit; 891 goto exit;
892 } 892 }
893 893
894 /* check that they really want us to change something */
895 if (old_termios) {
896 if ((port->tty->termios->c_cflag == old_termios->c_cflag) &&
897 (port->tty->termios->c_iflag == old_termios->c_iflag)) {
898 dbg("%s - nothing to change...", __FUNCTION__);
899 goto exit;
900 }
901 }
902
903 firm_setup_port(port); 894 firm_setup_port(port);
904 895
905exit: 896exit: