diff options
author | Emil Goode <emilgoode@gmail.com> | 2013-06-16 13:46:38 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-17 13:56:25 -0700 |
commit | a3b0f9b9c0dae1ffd6d0d8e6349217ae0d6b0994 (patch) | |
tree | 1634b30989ae754e4bed8c36203aa2c72351f771 /drivers/usb/host/ehci-pmcmsp.c | |
parent | 4e5c9e6fa2d232a0686d5fe45cd1508484048936 (diff) | |
download | linux-a3b0f9b9c0dae1ffd6d0d8e6349217ae0d6b0994.tar.gz linux-a3b0f9b9c0dae1ffd6d0d8e6349217ae0d6b0994.tar.bz2 linux-a3b0f9b9c0dae1ffd6d0d8e6349217ae0d6b0994.zip |
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>
Diffstat (limited to 'drivers/usb/host/ehci-pmcmsp.c')
-rw-r--r-- | drivers/usb/host/ehci-pmcmsp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-pmcmsp.c b/drivers/usb/host/ehci-pmcmsp.c index 363890ee41d2..601e208bd782 100644 --- a/drivers/usb/host/ehci-pmcmsp.c +++ b/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, |