提交 18210510 编写于 作者: Z Zhao Qiang 提交者: David S. Miller

wan/fsl_ucc_hdlc: remove reduplicative freed memory 'uhdlc_priv'

'uhdlc_priv' has freed twice, drop the first one.
Signed-off-by: NZhao Qiang <qiang.zhao@nxp.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 43b9e127
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册