]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
USB: mos7720: remove bogus no termios change check
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 9 Jul 2007 19:03:12 +0000 (12:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:34:41 +0000 (16:34 -0700)
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7720.c

index da60c300b846ddc1230de250a236d1be19c87d5e..231b584f6d0f22b5a5e7c27a91289f2d5619e7d6 100644 (file)
@@ -1238,16 +1238,6 @@ static void mos7720_set_termios(struct usb_serial_port *port,
                return;
        }
 
-       /* check that they really want us to change something */
-       if (old_termios) {
-               if ((cflag == old_termios->c_cflag) &&
-                   (RELEVANT_IFLAG(tty->termios->c_iflag) ==
-                    RELEVANT_IFLAG(old_termios->c_iflag))) {
-                       dbg("Nothing to change");
-                       return;
-               }
-       }
-
        dbg("%s - clfag %08x iflag %08x", __FUNCTION__,
            tty->termios->c_cflag,
            RELEVANT_IFLAG(tty->termios->c_iflag));