diff mbox

[1/2,TRIVIAL] usb: gadget: Remove duplicated function declaration in pxa27x_udc

Message ID 4234ff1b-66f3-0be0-ea62-75d622abb044@tul.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Petr Cvek Feb. 23, 2017, 1:35 a.m. UTC
Remove duplicated function declaration for udc_enable() and udc_disable().

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. 23, 2017, 7:30 a.m. UTC | #1
Petr Cvek <petr.cvek@tul.cz> writes:

> Remove duplicated function declaration for udc_enable() and udc_disable().

The patch title looks a bit tool long to me, and that also applied to your
second one.

Moreover the correct prefix for this driver (for the title) is :
         usb: gadget: pxa27x: MySuperSyntheticTitle

Cheers.
diff mbox

Patch

diff --git a/drivers/usb/gadget/udc/pxa27x_udc.c b/drivers/usb/gadget/udc/pxa27x_udc.c
index 7fa60f5b7ae4..6fa675bf2c6f 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