From: Alan Cox Date: Mon, 9 Jul 2007 19:03:12 +0000 (-0700) Subject: USB: mos7720: remove bogus no termios change check X-Git-Tag: v2.6.23-rc1~1083^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=eb58c0c5f2b3cf6306a184cdf1c751155b7ddb3b;p=linux-2.6-omap-h63xx.git USB: mos7720: remove bogus no termios change check Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb/serial/mos7720.c index da60c300b84..231b584f6d0 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));