summaryrefslogtreecommitdiffstats
path: root/drivers/usb/devio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/devio.c')
-rw-r--r--drivers/usb/devio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/devio.c b/drivers/usb/devio.c
index 5609ae1c2..00bd135e8 100644
--- a/drivers/usb/devio.c
+++ b/drivers/usb/devio.c
@@ -733,8 +733,7 @@ static int proc_clearhalt(struct dev_state *ps, void *arg)
else
pipe = usb_sndbulkpipe(ps->dev, ep & 0x7f);
- usb_clear_halt(ps->dev, pipe);
- return 0;
+ return usb_clear_halt(ps->dev, pipe);
}