aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/whiteheat.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-07-09 15:03:11 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 19:34:41 -0400
commit9a64f251326154dcd40b21a6980fe2ab9537dde7 (patch)
tree4a153913109fae480be4369f197cb2d693521dc1 /drivers/usb/serial/whiteheat.c
parente0c79f512cf469bc11fe9d53a4dcc5d0c39a3b79 (diff)
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/whiteheat.c')
-rw-r--r--drivers/usb/serial/whiteheat.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c
index 8611ee569613..cc8b44c08712 100644
--- a/drivers/usb/serial/whiteheat.c
+++ b/drivers/usb/serial/whiteheat.c
@@ -891,15 +891,6 @@ static void whiteheat_set_termios(struct usb_serial_port *port, struct ktermios
891 goto exit; 891 goto exit;
892 } 892 }
893 893
894 /* check that they really want us to change something */
895 if (old_termios) {
896 if ((port->tty->termios->c_cflag == old_termios->c_cflag) &&
897 (port->tty->termios->c_iflag == old_termios->c_iflag)) {
898 dbg("%s - nothing to change...", __FUNCTION__);
899 goto exit;
900 }
901 }
902
903 firm_setup_port(port); 894 firm_setup_port(port);
904 895
905exit: 896exit: