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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bdfa82f5b8
commit
4f7ac4d07a
@@ -791,7 +791,6 @@ static int usb_gpib_read(struct gpib_board *board,
|
||||
return -EIO;
|
||||
else
|
||||
return -ETIME;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* allocate buffer for multibyte read */
|
||||
|
||||
Reference in New Issue
Block a user