diff options
Diffstat (limited to 'drivers/usb/serial/io_ti.c')
-rw-r--r-- | drivers/usb/serial/io_ti.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c index 1c6850a074d4..0d3903691e8c 100644 --- a/drivers/usb/serial/io_ti.c +++ b/drivers/usb/serial/io_ti.c | |||
@@ -2544,14 +2544,6 @@ static void edge_set_termios (struct usb_serial_port *port, struct ktermios *old | |||
2544 | } | 2544 | } |
2545 | 2545 | ||
2546 | cflag = tty->termios->c_cflag; | 2546 | cflag = tty->termios->c_cflag; |
2547 | /* check that they really want us to change something */ | ||
2548 | if (old_termios) { | ||
2549 | if (cflag == old_termios->c_cflag && | ||
2550 | tty->termios->c_iflag == old_termios->c_iflag) { | ||
2551 | dbg ("%s - nothing to change", __FUNCTION__); | ||
2552 | return; | ||
2553 | } | ||
2554 | } | ||
2555 | 2547 | ||
2556 | dbg("%s - clfag %08x iflag %08x", __FUNCTION__, | 2548 | dbg("%s - clfag %08x iflag %08x", __FUNCTION__, |
2557 | tty->termios->c_cflag, tty->termios->c_iflag); | 2549 | tty->termios->c_cflag, tty->termios->c_iflag); |