ipack: iopctal: remove unneeded break
authorTom Rix <trix@redhat.com>
Mon, 19 Oct 2020 19:32:27 +0000 (12:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Nov 2020 15:05:34 +0000 (16:05 +0100)
A break is not needed if it is preceded by a return

Acked-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20201019193227.12738-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ipack/devices/ipoctal.c

index d480a51..3940714 100644 (file)
@@ -544,7 +544,6 @@ static void ipoctal_set_termios(struct tty_struct *tty,
                break;
        default:
                return;
-               break;
        }
 
        baud = tty_get_baud_rate(tty);