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:
Zhao Qiang 2016-07-15 10:38:24 +08:00 committed by David S. Miller
parent 43b9e12740
commit 18210510cf

View file

@ -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: