projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e5c9e6
)
USB: EHCI: Remove double assignment of .start in ehci_msp_hc_driver
author
Emil Goode
<emilgoode@gmail.com>
Sun, 16 Jun 2013 11:46:38 +0000
(13:46 +0200)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-pmcmsp.c
b/drivers/usb/host/ehci-pmcmsp.c
index 363890ee41d2bcb640231b9d12b1d01b09a694b4..601e208bd782c07e9d0bb1b60d238ccbb7774758 100644
(file)
--- 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,