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:
43b9e12
)
wan/fsl_ucc_hdlc: remove reduplicative freed memory 'uhdlc_priv'
author
Zhao Qiang
<qiang.zhao@nxp.com>
Fri, 15 Jul 2016 02:38:24 +0000
(10:38 +0800)
committer
David S. Miller
<davem@davemloft.net>
Sun, 17 Jul 2016 03:22:02 +0000
(20:22 -0700)
'uhdlc_priv' has freed twice, drop the first one.
Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/fsl_ucc_hdlc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wan/fsl_ucc_hdlc.c
b/drivers/net/wan/fsl_ucc_hdlc.c
index 6edd48afc248230d08a504fcd33dc56750ca1f40..040a45c4b4c124a028553bebc48a3bcb1342d488 100644
(file)
--- a/
drivers/net/wan/fsl_ucc_hdlc.c
+++ b/
drivers/net/wan/fsl_ucc_hdlc.c
@@
-1126,7
+1126,6
@@
static int ucc_hdlc_probe(struct platform_device *pdev)
err_hdlc_init:
err_miss_tsa_property:
- kfree(uhdlc_priv);
if (uhdlc_priv->tsa)
kfree(utdm);
err_alloc_utdm: