diff options
author | Tom Rix <trix@redhat.com> | 2020-10-19 12:46:28 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-09 16:05:09 +0100 |
commit | 061e5379f327c77647b6a16beaf898b1ee71d731 (patch) | |
tree | 2b792738e6158dd68122c1d72bcccd23c256109e | |
parent | c2192bbc3c507b33dda5858049e0493c073d29fb (diff) | |
download | linux-stable-061e5379f327c77647b6a16beaf898b1ee71d731.tar.gz linux-stable-061e5379f327c77647b6a16beaf898b1ee71d731.tar.bz2 linux-stable-061e5379f327c77647b6a16beaf898b1ee71d731.zip |
char: lp: remove unneeded break
A break is not needed if it is preceded by a return
Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20201019194628.14731-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/char/lp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/lp.c b/drivers/char/lp.c index 0ec73917d8dd..862c2fd933c7 100644 --- a/drivers/char/lp.c +++ b/drivers/char/lp.c @@ -622,7 +622,6 @@ static int lp_do_ioctl(unsigned int minor, unsigned int cmd, break; case LPSETIRQ: return -EINVAL; - break; case LPGETIRQ: if (copy_to_user(argp, &LP_IRQ(minor), sizeof(int))) |