diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-09-02 16:35:22 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-09-02 16:35:22 +0200 |
commit | 5c5daf571a59c88fd75b33105d068813d2f9d92c (patch) | |
tree | 4965b21eb157dd54c70ca2b55002b0e643e0ea08 /drivers | |
parent | 1458ce166c1b333ecbaf8caa9f4f54eab3a522a7 (diff) | |
download | op-kernel-dev-5c5daf571a59c88fd75b33105d068813d2f9d92c.zip op-kernel-dev-5c5daf571a59c88fd75b33105d068813d2f9d92c.tar.gz |
Revert "drivers/usb: Remove unnecessary return's from void functions" partially
This is a partial revert of 7f26b3a7533b ("drivers/usb: Remove unnecessary
return's from void functions") as this hunk will go through USB tree
due to conflict.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/langwell_udc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/langwell_udc.c b/drivers/usb/gadget/langwell_udc.c index d41b69c..c2d2a20 100644 --- a/drivers/usb/gadget/langwell_udc.c +++ b/drivers/usb/gadget/langwell_udc.c @@ -284,6 +284,7 @@ static void ep0_reset(struct langwell_udc *dev) } VDBG(dev, "<--- %s()\n", __func__); + return; } @@ -1485,6 +1486,7 @@ static void langwell_udc_start(struct langwell_udc *dev) writel(usbcmd, &dev->op_regs->usbcmd); DBG(dev, "<--- %s()\n", __func__); + return; } @@ -1507,6 +1509,7 @@ static void langwell_udc_stop(struct langwell_udc *dev) writel(usbcmd, &dev->op_regs->usbcmd); DBG(dev, "<--- %s()\n", __func__); + return; } |