diff options
author | Jiri Kosina <jkosina@suse.cz> | 2010-10-06 05:34:48 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-10-06 05:34:48 -0400 |
commit | d7eccbbae84b2ee7dbb756e60287c4b47071444e (patch) | |
tree | a3aa0b7515507ccbe8262c88ce0411b05cda6b2d /drivers | |
parent | 45798c28b43d06d371df2e26e4a143c6f1428c6d (diff) |
Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
This is a partial revert of 7f26b3a7533b ("drivers/usb: Remove unnecessary
return's from void functions") as this hunk will vanish in USB tree completely.
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/musb/musb_gadget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index a83a139da5bc..6fca870e957e 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb/musb_gadget.c | |||
@@ -829,6 +829,7 @@ void musb_g_rx(struct musb *musb, u8 epnum) | |||
829 | DBG(3, "packet waiting for %s%s request\n", | 829 | DBG(3, "packet waiting for %s%s request\n", |
830 | musb_ep->desc ? "" : "inactive ", | 830 | musb_ep->desc ? "" : "inactive ", |
831 | musb_ep->end_point.name); | 831 | musb_ep->end_point.name); |
832 | return; | ||
832 | } | 833 | } |
833 | 834 | ||
834 | /* ------------------------------------------------------------ */ | 835 | /* ------------------------------------------------------------ */ |