diff options
author | Bart Westgeest <bart@elbrys.com> | 2012-01-23 10:55:46 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-09 09:42:23 -0800 |
commit | ac2b41acfa3efe4650102067a99251587a806d70 (patch) | |
tree | 96abf0eb4706759d6b42c920f814c78252ccabdf /drivers/staging/usbip/vhci_rx.c | |
parent | 98b9de2189180a1c62ea1ea912e66230908305f0 (diff) |
staging: usbip: changed function return type to void
The function usbip_pad_iso never returns anything but 0 (success).
Signed-off-by: Bart Westgeest <bart@elbrys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/usbip/vhci_rx.c')
-rw-r--r-- | drivers/staging/usbip/vhci_rx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/usbip/vhci_rx.c b/drivers/staging/usbip/vhci_rx.c index 3f511b47563..f5fba7320c5 100644 --- a/drivers/staging/usbip/vhci_rx.c +++ b/drivers/staging/usbip/vhci_rx.c @@ -94,8 +94,7 @@ static void vhci_recv_ret_submit(struct vhci_device *vdev, return; /* restore the padding in iso packets */ - if (usbip_pad_iso(ud, urb) < 0) - return; + usbip_pad_iso(ud, urb); if (usbip_dbg_flag_vhci_rx) usbip_dump_urb(urb); |