summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2010-10-06 11:34:48 +0200
committerJiri Kosina <jkosina@suse.cz>2010-10-06 11:34:48 +0200
commitd7eccbbae84b2ee7dbb756e60287c4b47071444e (patch)
treea3aa0b7515507ccbe8262c88ce0411b05cda6b2d /drivers/usb
parent45798c28b43d06d371df2e26e4a143c6f1428c6d (diff)
downloadlinux-stable-d7eccbbae84b2ee7dbb756e60287c4b47071444e.tar.gz
linux-stable-d7eccbbae84b2ee7dbb756e60287c4b47071444e.tar.bz2
linux-stable-d7eccbbae84b2ee7dbb756e60287c4b47071444e.zip
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/usb')
-rw-r--r--drivers/usb/musb/musb_gadget.c1
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)
DBG(3, "packet waiting for %s%s request\n",
musb_ep->desc ? "" : "inactive ",
musb_ep->end_point.name);
+ return;
}
/* ------------------------------------------------------------ */