diff options
author | Zhao Qiang <qiang.zhao@nxp.com> | 2016-07-15 10:38:24 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-16 20:22:02 -0700 |
commit | 18210510cfe418b374e364654743f738ddb75196 (patch) | |
tree | 56308fd1f3c9cd24d76d7803fb4e07d343de5f5e /drivers | |
parent | 43b9e127406079d187794a5140a2411fbc6df2df (diff) | |
download | linux-18210510cfe418b374e364654743f738ddb75196.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wan/fsl_ucc_hdlc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c index 6edd48afc248..040a45c4b4c1 100644 --- a/drivers/net/wan/fsl_ucc_hdlc.c +++ b/drivers/net/wan/fsl_ucc_hdlc.c @@ -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: |