Browse Source

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.

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Emil Goode 12 years ago
parent
commit
a3b0f9b9c0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/usb/host/ehci-pmcmsp.c

+ 1 - 2
drivers/usb/host/ehci-pmcmsp.c

@@ -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,