]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: gpib: lpvo_usb_gpib: Remove unreachable return statement
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Thu, 3 Jul 2025 07:05:30 +0000 (00:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 11:11:35 +0000 (13:11 +0200)
commit4f7ac4d07a7a42d26af0537b8df69ec1b906c0a7
treea07eec16f723549ca43a1cc85fc6cd7799582b54
parentbdfa82f5b8998a6311a8ef0cf89ad413f5cd9ea4
staging: gpib: lpvo_usb_gpib: Remove unreachable return statement

usb_gpib_read() has a return statement after if else which is
unreachable, clean this up.

Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://lore.kernel.org/r/20250703070542.1957371-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c