io_*: Remove bogus termios no change checks
Subsystems (2)
PATCH 1/1 io_*: Remove bogus termios no change checks
Signed-off-by Alan Cox <[email protected]>
drivers/usb/serial/io_edgeport.c +0 -9
@@ -1513,15 +1513,6 @@ } cflag = tty->termios->c_cflag; -/* check that they really want us to change something */ -if (old_termios) { -if (cflag == old_termios->c_cflag && - tty->termios->c_iflag == old_termios->c_iflag) { -dbg ("%s - nothing to change" , __FUNCTION__); -return ; - } - } -dbg ("%s - clfag %08x iflag %08x" , __FUNCTION__, tty->termios->c_cflag, tty->termios->c_iflag);if (old_termios) {
drivers/usb/serial/io_ti.c +0 -8
@@ -2544,14 +2544,6 @@ } cflag = tty->termios->c_cflag; -/* check that they really want us to change something */ -if (old_termios) { -if (cflag == old_termios->c_cflag && - tty->termios->c_iflag == old_termios->c_iflag) { -dbg ("%s - nothing to change" , __FUNCTION__); -return ; - } - }dbg ("%s - clfag %08x iflag %08x" , __FUNCTION__, tty->termios->c_cflag, tty->termios->c_iflag);