diff mbox

[v2,1/2] usb: gadget: pxa27x: Remove duplicate function prototype

Message ID 9f125a32-1d2a-54ea-ccd8-8d8b494c6f3a@tul.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Petr Cvek Feb. 24, 2017, 1:54 a.m. UTC
Functions udc_enable() and udc_disable() have a duplicated prototype.
Remove it.

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
---
 drivers/usb/gadget/udc/pxa27x_udc.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Robert Jarzmik Feb. 25, 2017, 12:21 p.m. UTC | #1
Petr Cvek <petr.cvek@tul.cz> writes:

> Functions udc_enable() and udc_disable() have a duplicated prototype.
> Remove it.
>
> Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>

Cheers.
diff mbox

Patch

diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c
index e1335ad5bce9..821bd8f4cae6 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