projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
015105b
)
usb: dwc2: Remove unnecessary kfree
author
John Youn
<johnyoun@synopsys.com>
Fri, 4 Nov 2016 00:55:45 +0000
(17:55 -0700)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:10 +0000
(13:54 +0200)
This shouldn't be freed by the HCD as it is owned by the core and
allocated with devm_kzalloc.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/hcd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/dwc2/hcd.c
b/drivers/usb/dwc2/hcd.c
index df5a065780054f21841ca9f08b8ab118922c530b..1b6f5e1cf31ab3af69a16ed50564595b8822572f 100644
(file)
--- a/
drivers/usb/dwc2/hcd.c
+++ b/
drivers/usb/dwc2/hcd.c
@@
-5184,7
+5184,6
@@
error3:
error2:
usb_put_hcd(hcd);
error1:
- kfree(hsotg->core_params);
#ifdef CONFIG_USB_DWC2_TRACK_MISSED_SOFS
kfree(hsotg->last_frame_num_array);