OSDN Git Service

Revert "drivers/usb: Remove unnecessary return's from void functions" for musb gadget
authorJiri Kosina <jkosina@suse.cz>
Wed, 6 Oct 2010 09:34:48 +0000 (11:34 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 6 Oct 2010 09:34:48 +0000 (11:34 +0200)
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>
drivers/usb/musb/musb_gadget.c

index a83a139..6fca870 100644 (file)
@@ -829,6 +829,7 @@ void musb_g_rx(struct musb *musb, u8 epnum)
                DBG(3, "packet waiting for %s%s request\n",
                                musb_ep->desc ? "" : "inactive ",
                                musb_ep->end_point.name);
+       return;
 }
 
 /* ------------------------------------------------------------ */