Skip to contentSkip to conversation

USB: EHCI: Remove double assignment of .start in ehci_msp_hc_driver

PATCH New Emil Goode 1 participant 1 message Jun 16, 2013

Subsystems (3)
lore
Share & tools
lore

Emil Goode

author
#0 lore raw

PATCH 1/1 USB: EHCI: Remove double assignment of .start in ehci_msp_hc_driver

This patch removes a double assignment of .start in struct hc_driver ehci_msp_hc_driver and also makes the code look more tidy.

---
 drivers/usb/host/ehci-pmcmsp.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/usb/host/ehci-pmcmsp.c +1 -2
index 363890e..601e208 100644
@@ -291,8 +291,7 @@ static const struct hc_driver ehci_msp_hc_driver = {
 	/*
 	 * basic lifecycle operations
 	 */
-	.reset =		ehci_msp_setup,
-	.start =		ehci_run,
+	.reset			= ehci_msp_setup,
 	.shutdown		= ehci_shutdown,
 	.start			= ehci_run,
 	.stop			= ehci_stop,
Signature · 1 line
1.7.10.4