USB: EHCI: Remove double assignment of .start in ehci_msp_hc_driver
authorEmil Goode <emilgoode@gmail.com>
Sun, 16 Jun 2013 11:46:38 +0000 (13:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 20:56:25 +0000 (13:56 -0700)
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>
drivers/usb/host/ehci-pmcmsp.c

index 363890ee41d2bcb640231b9d12b1d01b09a694b4..601e208bd782c07e9d0bb1b60d238ccbb7774758 100644 (file)
@@ -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,