Loading drivers/usb/serial/cypress_m8.c +17 −20 Original line number Diff line number Diff line Loading @@ -1093,7 +1093,6 @@ static void cypress_set_termios(struct tty_struct *tty, } else parity_enable = parity_type = 0; if (cflag & CSIZE) { switch (cflag & CSIZE) { case CS5: data_bits = 0; Loading @@ -1111,9 +1110,7 @@ static void cypress_set_termios(struct tty_struct *tty, err("%s - CSIZE was set, but not CS5-CS8", __func__); data_bits = 3; } else data_bits = 3; } spin_lock_irqsave(&priv->lock, flags); oldlines = priv->line_control; if ((cflag & CBAUD) == B0) { Loading Loading
drivers/usb/serial/cypress_m8.c +17 −20 Original line number Diff line number Diff line Loading @@ -1093,7 +1093,6 @@ static void cypress_set_termios(struct tty_struct *tty, } else parity_enable = parity_type = 0; if (cflag & CSIZE) { switch (cflag & CSIZE) { case CS5: data_bits = 0; Loading @@ -1111,9 +1110,7 @@ static void cypress_set_termios(struct tty_struct *tty, err("%s - CSIZE was set, but not CS5-CS8", __func__); data_bits = 3; } else data_bits = 3; } spin_lock_irqsave(&priv->lock, flags); oldlines = priv->line_control; if ((cflag & CBAUD) == B0) { Loading