usb/gadget: (fusb300_udc) Remove unused function fusb300_ep0_complete
authorGuenter Roeck <linux@roeck-us.net>
Thu, 26 May 2011 07:02:56 +0000 (00:02 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 6 Jun 2011 23:32:36 +0000 (16:32 -0700)
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>
drivers/usb/gadget/fusb300_udc.c

index 763d462454b9f7c4f17ddd3f0121cc7b572a8172..b82a1149145a02ad427c7574c112a38af58bca91 100644 (file)
@@ -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;