staging: usbip: remove redundant return statements
Remove redundant return statements at the end of void functions. This addresses the checkpatch.pl warnings: WARNING: void function return statements are not generally useful Signed-off-by: Max Vozeler <max@hinterhof.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e8cdd70aff
commit
a948318f70
3 changed files with 0 additions and 4 deletions
|
@ -529,7 +529,6 @@ static void stub_recv_cmd_submit(struct stub_device *sdev,
|
|||
}
|
||||
|
||||
usbip_dbg_stub_rx("Leave\n");
|
||||
return;
|
||||
}
|
||||
|
||||
/* recv a pdu */
|
||||
|
|
|
@ -1121,7 +1121,6 @@ static struct platform_driver vhci_driver = {
|
|||
*/
|
||||
static void the_pdev_release(struct device *dev)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
static struct platform_device the_pdev = {
|
||||
|
|
|
@ -111,8 +111,6 @@ static void vhci_recv_ret_submit(struct vhci_device *vdev,
|
|||
usb_hcd_giveback_urb(vhci_to_hcd(the_controller), urb, urb->status);
|
||||
|
||||
usbip_dbg_vhci_rx("Leave\n");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static struct vhci_unlink *dequeue_pending_unlink(struct vhci_device *vdev,
|
||||
|
|
Loading…
Reference in a new issue