Skip to content

Commit

Permalink
usb: gadget: mv_udc: remove unused code
Browse files Browse the repository at this point in the history
Clean unused code for mv_udc driver.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Neil Zhang authored and Felipe Balbi committed Aug 23, 2012
1 parent 9b2035a commit a07bc24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/usb/gadget/mv_udc_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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);
Expand Down

0 comments on commit a07bc24

Please sign in to comment.