From d7eccbbae84b2ee7dbb756e60287c4b47071444e Mon Sep 17 00:00:00 2001 From: Jiri Kosina Date: Wed, 6 Oct 2010 11:34:48 +0200 Subject: 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 Signed-off-by: Jiri Kosina --- drivers/usb/musb/musb_gadget.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index a83a139da5b..6fca870e957 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; } /* ------------------------------------------------------------ */ -- cgit v1.2.3