aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/mos7720.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/mos7720.c')
-rw-r--r--drivers/usb/serial/mos7720.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c
index da60c300b846..231b584f6d0f 100644
--- a/drivers/usb/serial/mos7720.c
+++ b/drivers/usb/serial/mos7720.c
@@ -1238,16 +1238,6 @@ static void mos7720_set_termios(struct usb_serial_port *port,
1238 return; 1238 return;
1239 } 1239 }
1240 1240
1241 /* check that they really want us to change something */
1242 if (old_termios) {
1243 if ((cflag == old_termios->c_cflag) &&
1244 (RELEVANT_IFLAG(tty->termios->c_iflag) ==
1245 RELEVANT_IFLAG(old_termios->c_iflag))) {
1246 dbg("Nothing to change");
1247 return;
1248 }
1249 }
1250
1251 dbg("%s - clfag %08x iflag %08x", __FUNCTION__, 1241 dbg("%s - clfag %08x iflag %08x", __FUNCTION__,
1252 tty->termios->c_cflag, 1242 tty->termios->c_cflag,
1253 RELEVANT_IFLAG(tty->termios->c_iflag)); 1243 RELEVANT_IFLAG(tty->termios->c_iflag));