diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-07-09 21:03:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-13 01:34:41 +0200 |
commit | 9a64f251326154dcd40b21a6980fe2ab9537dde7 (patch) | |
tree | 4a153913109fae480be4369f197cb2d693521dc1 /drivers/usb/serial/visor.c | |
parent | USB: pl2303: remove bogus checks and fix speed support to use tty_get_baud_ra... (diff) | |
download | linux-9a64f251326154dcd40b21a6980fe2ab9537dde7.tar.xz linux-9a64f251326154dcd40b21a6980fe2ab9537dde7.zip |
USB: visor and whiteheat: remove bogus termios change checks
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>
Diffstat (limited to 'drivers/usb/serial/visor.c')
-rw-r--r-- | drivers/usb/serial/visor.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index acd0eae3b146..7d84a7647e81 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c @@ -948,14 +948,6 @@ static void visor_set_termios (struct usb_serial_port *port, struct ktermios *ol } cflag = port->tty->termios->c_cflag; - /* check that they really want us to change something */ - if (old_termios) { - if ((cflag == old_termios->c_cflag) && - (RELEVANT_IFLAG(port->tty->termios->c_iflag) == RELEVANT_IFLAG(old_termios->c_iflag))) { - dbg("%s - nothing to change...", __FUNCTION__); - return; - } - } /* get the byte size */ switch (cflag & CSIZE) { |