mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
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>
This commit is contained in:
parent
9a64f25132
commit
eb58c0c5f2
1 changed files with 0 additions and 10 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue