aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAjay Kumar Gupta <ajay.gupta@ti.com>2010-11-22 03:52:41 -0500
committerFelipe Balbi <balbi@ti.com>2010-11-22 05:42:09 -0500
commitbb324b08165d5656d221af013ed9994a54e455be (patch)
tree2d0e3ed23e1d7dcc03e044c8576d02c9f6e4f412 /drivers/usb
parente75df37165c639b06213ec88b4763c3e50a7f079 (diff)
usb: musb: gadget: fix compilation warning
Fixes below compilation warning when musb driver is compiled for PIO mode: drivers/usb/musb/musb_gadget.c: In function 'musb_g_rx': drivers/usb/musb/musb_gadget.c:840: warning: label 'exit' defined but not used Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/musb/musb_gadget.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index 363cfad003f8..c8de0e123f2c 100644
--- a/drivers/usb/musb/musb_gadget.c
+++ b/drivers/usb/musb/musb_gadget.c
@@ -896,7 +896,9 @@ void musb_g_rx(struct musb *musb, u8 epnum)
896 if (!request) 896 if (!request)
897 return; 897 return;
898 } 898 }
899#if defined(CONFIG_USB_INVENTRA_DMA) || defined(CONFIG_USB_TUSB_OMAP_DMA)
899exit: 900exit:
901#endif
900 /* Analyze request */ 902 /* Analyze request */
901 rxstate(musb, to_musb_request(request)); 903 rxstate(musb, to_musb_request(request));
902} 904}