wan/fsl_ucc_hdlc: remove reduplicative freed memory 'uhdlc_priv'
'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>
This commit is contained in:
Родитель
43b9e12740
Коммит
18210510cf
|
@ -1126,7 +1126,6 @@ static int ucc_hdlc_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
err_hdlc_init:
|
err_hdlc_init:
|
||||||
err_miss_tsa_property:
|
err_miss_tsa_property:
|
||||||
kfree(uhdlc_priv);
|
|
||||||
if (uhdlc_priv->tsa)
|
if (uhdlc_priv->tsa)
|
||||||
kfree(utdm);
|
kfree(utdm);
|
||||||
err_alloc_utdm:
|
err_alloc_utdm:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче