usb: dwc3: Remove unused function
authorValentin Schneider <valentin.schneider@arm.com>
Fri, 15 Dec 2017 16:59:07 +0000 (16:59 +0000)
committerDouglas RAILLARD <douglas.raillard@arm.com>
Tue, 14 Aug 2018 15:32:11 +0000 (16:32 +0100)
dwc3_gadget_conndone_interrupt was added in
<e8621f602a6d> "usb: add dwc3 driver for hikey960", but it's
unused.

Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
drivers/usb/dwc3/gadget.c

index d77fd731324edc89a843ba9f9fe7cd04a3e148b5..c5df787acf1819bffab3d62f7e2b9a25ad57e9f0 100644 (file)
@@ -2677,11 +2677,6 @@ int dwc3_conndone_notifier_unregister(struct notifier_block *nb)
        return atomic_notifier_chain_unregister(&conndone_nh, nb);
 }
 
-static void dwc3_conndone_notify(enum usb_device_speed speed)
-{
-       atomic_notifier_call_chain(&conndone_nh, (unsigned long)speed, NULL);
-}
-
 static void dwc3_gadget_conndone_interrupt(struct dwc3 *dwc)
 {
        struct dwc3_ep          *dep;