mirror of https://gitee.com/openkylin/linux.git
Staging: serqt_usb2: Two branches the same in qt_set_termios()
Regardless of the condition, the branches executed the same code Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
a2c3fdb996
commit
35f077dca7
|
@ -1277,7 +1277,7 @@ static void qt_set_termios(struct tty_struct *tty,
|
|||
if (cflag & CSTOPB)
|
||||
new_LCR |= SERIAL_TWO_STOPB;
|
||||
else
|
||||
new_LCR |= SERIAL_TWO_STOPB;
|
||||
new_LCR |= SERIAL_ONE_STOPB;
|
||||
|
||||
dbg("%s - 4\n", __func__);
|
||||
|
||||
|
|
Loading…
Reference in New Issue