From: Petr Cvek Date: Fri, 24 Feb 2017 01:54:12 +0000 (+0100) Subject: usb: gadget: pxa27x: Remove duplicate function prototype X-Git-Tag: v4.12-rc1~97^2~25^2~47 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a38b395521898364cb157b8c03cf9abc2b327aff;p=karo-tx-linux.git usb: gadget: pxa27x: Remove duplicate function prototype Functions udc_enable() and udc_disable() have a duplicated prototype. Remove it. Acked-by: Robert Jarzmik Signed-off-by: Petr Cvek Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c index 832c4fdbe985..d48e239660c3 100644 --- a/drivers/usb/gadget/udc/pxa27x_udc.c +++ b/drivers/usb/gadget/udc/pxa27x_udc.c @@ -1608,9 +1608,6 @@ static int pxa_udc_pullup(struct usb_gadget *_gadget, int is_active) return 0; } -static void udc_enable(struct pxa_udc *udc); -static void udc_disable(struct pxa_udc *udc); - /** * pxa_udc_vbus_session - Called by external transceiver to enable/disable udc * @_gadget: usb gadget