diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2010-11-22 14:22:41 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2010-11-22 12:42:09 +0200 |
commit | bb324b08165d5656d221af013ed9994a54e455be (patch) | |
tree | 2d0e3ed23e1d7dcc03e044c8576d02c9f6e4f412 | |
parent | e75df37165c639b06213ec88b4763c3e50a7f079 (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>
-rw-r--r-- | drivers/usb/musb/musb_gadget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 363cfad003f..c8de0e123f2 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) if (!request) return; } +#if defined(CONFIG_USB_INVENTRA_DMA) || defined(CONFIG_USB_TUSB_OMAP_DMA) exit: +#endif /* Analyze request */ rxstate(musb, to_musb_request(request)); } |