summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@freescale.com>2014-08-14 16:34:48 (GMT)
committerMadalin Bucur <madalin.bucur@freescale.com>2015-02-25 16:26:58 (GMT)
commitb5b07e785e25f7c1f34881de5c1c420835df1c30 (patch)
tree0c0a340ceed9d9633d0d61b8f86b7b152016eea7 /drivers/net/ethernet
parent2eb5500da9a03d36bd4d46b4d1d446fe7fb39231 (diff)
downloadlinux-fsl-qoriq-b5b07e785e25f7c1f34881de5c1c420835df1c30.tar.xz
fix multiple dpa_bp free warnings
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> Change-Id: I6a27c4300890d8c3a2f892bbbc254ebc9ce6d538 Reviewed-on: http://git.am.freescale.net:8181/16879
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c
index de1a09a..b1dc9c0 100644
--- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c
+++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_common.c
@@ -519,7 +519,6 @@ int __cold dpa_remove(struct platform_device *of_dev)
free_percpu(priv->percpu_priv);
dpa_bp_free(priv, priv->dpa_bp);
- devm_kfree(dev, priv->dpa_bp);
if (priv->buf_layout)
devm_kfree(dev, priv->buf_layout);