From: Emil Goode Date: Sun, 16 Jun 2013 11:46:38 +0000 (+0200) Subject: USB: EHCI: Remove double assignment of .start in ehci_msp_hc_driver X-Git-Tag: firefly_0821_release~176^2~5847^2~22 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a3b0f9b9c0dae1ffd6d0d8e6349217ae0d6b0994;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Greg Kroah-Hartman --- 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,