summaryrefslogtreecommitdiffstats
path: root/drivers/staging/usbip/vhci_rx.c
diff options
context:
space:
mode:
authorBart Westgeest <bart@elbrys.com>2012-01-23 10:55:46 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-09 09:42:23 -0800
commitac2b41acfa3efe4650102067a99251587a806d70 (patch)
tree96abf0eb4706759d6b42c920f814c78252ccabdf /drivers/staging/usbip/vhci_rx.c
parent98b9de2189180a1c62ea1ea912e66230908305f0 (diff)
downloadop-kernel-dev-ac2b41acfa3efe4650102067a99251587a806d70.zip
op-kernel-dev-ac2b41acfa3efe4650102067a99251587a806d70.tar.gz
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/usbip/vhci_rx.c b/drivers/staging/usbip/vhci_rx.c
index 3f511b4..f5fba732 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);
OpenPOWER on IntegriCloud