]> err.no Git - linux-2.6/blobdiff - drivers/usb/serial/whiteheat.c
USB: empeg: clean up and handle speeds
[linux-2.6] / drivers / usb / serial / whiteheat.c
index 8611ee56961391cdc55c8c92594b610782757490..cc8b44c08712c67c1c41448c18b17ff23950228a 100644 (file)
@@ -891,15 +891,6 @@ static void whiteheat_set_termios(struct usb_serial_port *port, struct ktermios
                goto exit;
        }
        
-       /* check that they really want us to change something */
-       if (old_termios) {
-               if ((port->tty->termios->c_cflag == old_termios->c_cflag) &&
-                   (port->tty->termios->c_iflag == old_termios->c_iflag)) {
-                       dbg("%s - nothing to change...", __FUNCTION__);
-                       goto exit;
-               }
-       }
-
        firm_setup_port(port);
 
 exit: