Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18210510 authored by Zhao Qiang's avatar Zhao Qiang Committed by David S. Miller
Browse files

wan/fsl_ucc_hdlc: remove reduplicative freed memory 'uhdlc_priv'



'uhdlc_priv' has freed twice, drop the first one.

Signed-off-by: default avatarZhao Qiang <qiang.zhao@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 43b9e127
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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: