mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 14:43:03 +00:00
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:
parent
43b9e12740
commit
18210510cf
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user