diff options
author | Guenter Roeck <linux@roeck-us.net> | 2011-05-26 03:02:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-06 19:32:36 -0400 |
commit | 680681747ff933fdedfbf11bd03c369e5b14085c (patch) | |
tree | 50eabb3a4582bf98e23e2bd8bed2ff936222c4b7 /drivers/usb/gadget/fusb300_udc.c | |
parent | 1acb30ef28c4cb08bc6f7bc7f68ee7eebd4b9c84 (diff) |
usb/gadget: (fusb300_udc) Remove unused function fusb300_ep0_complete
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>
Diffstat (limited to 'drivers/usb/gadget/fusb300_udc.c')
-rw-r--r-- | drivers/usb/gadget/fusb300_udc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/gadget/fusb300_udc.c b/drivers/usb/gadget/fusb300_udc.c index 763d462454b9..b82a1149145a 100644 --- a/drivers/usb/gadget/fusb300_udc.c +++ b/drivers/usb/gadget/fusb300_udc.c | |||
@@ -980,11 +980,6 @@ static void set_address(struct fusb300 *fusb300, struct usb_ctrlrequest *ctrl) | |||
980 | } \ | 980 | } \ |
981 | } while (0) | 981 | } while (0) |
982 | 982 | ||
983 | static void fusb300_ep0_complete(struct usb_ep *ep, | ||
984 | struct usb_request *req) | ||
985 | { | ||
986 | } | ||
987 | |||
988 | static int setup_packet(struct fusb300 *fusb300, struct usb_ctrlrequest *ctrl) | 983 | static int setup_packet(struct fusb300 *fusb300, struct usb_ctrlrequest *ctrl) |
989 | { | 984 | { |
990 | u8 *p = (u8 *)ctrl; | 985 | u8 *p = (u8 *)ctrl; |