mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c2192bbc3c
commit
061e5379f3
@@ -622,7 +622,6 @@ static int lp_do_ioctl(unsigned int minor, unsigned int cmd,
|
|||||||
break;
|
break;
|
||||||
case LPSETIRQ:
|
case LPSETIRQ:
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
break;
|
|
||||||
case LPGETIRQ:
|
case LPGETIRQ:
|
||||||
if (copy_to_user(argp, &LP_IRQ(minor),
|
if (copy_to_user(argp, &LP_IRQ(minor),
|
||||||
sizeof(int)))
|
sizeof(int)))
|
||||||
|
Reference in New Issue
Block a user