Skip to content

Commit

Permalink
usb/gadget: (fusb300_udc) Remove unused function fusb300_ep0_complete
Browse files Browse the repository at this point in the history
fusb300_ep0_complete() is an empty function, not called from anywhere,
and causes the following build warning.

fusb300_udc.c:983: warning: fusb300_ep0_complete defined but not used

Remove it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Guenter Roeck authored and Greg Kroah-Hartman committed Jun 6, 2011
1 parent 1acb30e commit 6806817
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/usb/gadget/fusb300_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -980,11 +980,6 @@ static void set_address(struct fusb300 *fusb300, struct usb_ctrlrequest *ctrl)
} \
} while (0)

static void fusb300_ep0_complete(struct usb_ep *ep,
struct usb_request *req)
{
}

static int setup_packet(struct fusb300 *fusb300, struct usb_ctrlrequest *ctrl)
{
u8 *p = (u8 *)ctrl;
Expand Down

0 comments on commit 6806817

Please sign in to comment.