projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b6200
)
usb: dwc2: Remove 'return' from void function
author
John Youn
<John.Youn@synopsys.com>
Wed, 18 Jan 2017 04:32:27 +0000
(20:32 -0800)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Tue, 24 Jan 2017 09:04:21 +0000
(11:04 +0200)
The function returns void so a return is unnecessary.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/hcd_queue.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc2/hcd_queue.c
b/drivers/usb/dwc2/hcd_queue.c
index
faf45df
..
b1fc9fe
100644
(file)
--- a/
drivers/usb/dwc2/hcd_queue.c
+++ b/
drivers/usb/dwc2/hcd_queue.c
@@
-556,7
+556,6
@@
static void dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg,
DWC2_HS_SCHEDULE_UFRAMES, "uFrame", "us",
dwc2_qh_print, &print_data);
}
- return;
}
#else
static inline void dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg,