diff options
author | Neil Zhang <zhangwm@marvell.com> | 2012-07-10 10:07:02 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-08-23 11:04:14 +0300 |
commit | a07bc24e2773e11cb4a6c03d72cd3cdb50c41914 (patch) | |
tree | 5e2b4c9d3022ce19778b6f7e38b2a7bed82fd932 | |
parent | 9b2035a0b9ee9745c236cc2ec1ec0b0eae692a1a (diff) | |
download | linux-3.10-a07bc24e2773e11cb4a6c03d72cd3cdb50c41914.tar.gz linux-3.10-a07bc24e2773e11cb4a6c03d72cd3cdb50c41914.tar.bz2 linux-3.10-a07bc24e2773e11cb4a6c03d72cd3cdb50c41914.zip |
usb: gadget: mv_udc: remove unused code
Clean unused code for mv_udc driver.
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/gadget/mv_udc_core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c index 9e40f89635b..c05d340c7d0 100644 --- a/drivers/usb/gadget/mv_udc_core.c +++ b/drivers/usb/gadget/mv_udc_core.c @@ -51,7 +51,6 @@ #define EPSTATUS_TIMEOUT 10000 #define PRIME_TIMEOUT 10000 #define READSAFE_TIMEOUT 1000 -#define DTD_TIMEOUT 1000 #define LOOPS_USEC_SHIFT 1 #define LOOPS_USEC (1 << LOOPS_USEC_SHIFT) @@ -64,7 +63,6 @@ static const char driver_desc[] = DRIVER_DESC; /* controller device global variable */ static struct mv_udc *the_controller; -int mv_usb_otgsc; static void nuke(struct mv_ep *ep, int status); static void stop_activity(struct mv_udc *udc, struct usb_gadget_driver *driver); |