diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-07-09 21:03:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-13 01:34:41 +0200 |
commit | eb58c0c5f2b3cf6306a184cdf1c751155b7ddb3b (patch) | |
tree | 91fc820f410f7a8070ffd8a11fa889e7621300b6 | |
parent | USB: visor and whiteheat: remove bogus termios change checks (diff) | |
download | linux-eb58c0c5f2b3cf6306a184cdf1c751155b7ddb3b.tar.xz linux-eb58c0c5f2b3cf6306a184cdf1c751155b7ddb3b.zip |
USB: mos7720: remove bogus no termios change check
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>
-rw-r--r-- | drivers/usb/serial/mos7720.c | 10 |
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, 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)); |