diff options
author | Ajay Kumar Gupta <ajay.gupta@ti.com> | 2010-11-22 03:52:41 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2010-11-22 05:42:09 -0500 |
commit | bb324b08165d5656d221af013ed9994a54e455be (patch) | |
tree | 2d0e3ed23e1d7dcc03e044c8576d02c9f6e4f412 /drivers/usb | |
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>
Diffstat (limited to 'drivers/usb')
-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 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) | ||
899 | exit: | 900 | exit: |
901 | #endif | ||
900 | /* Analyze request */ | 902 | /* Analyze request */ |
901 | rxstate(musb, to_musb_request(request)); | 903 | rxstate(musb, to_musb_request(request)); |
902 | } | 904 | } |