1 From b8f8c14491160043dd880d1e62c01903402352b2 Mon Sep 17 00:00:00 2001
2 From: Camelia Groza <camelia.groza@nxp.com>
3 Date: Wed, 24 Oct 2018 13:35:16 +0300
4 Subject: [PATCH] sdk_dpaa: ceetm: rename qdisc_destroy() to qdisc_put()
6 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
8 drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 8 ++++----
9 1 file changed, 4 insertions(+), 4 deletions(-)
11 --- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
12 +++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
13 @@ -432,7 +432,7 @@ static void ceetm_cls_destroy(struct Qdi
17 - qdisc_destroy(cl->root.child);
18 + qdisc_put(cl->root.child);
19 cl->root.child = NULL;
22 @@ -445,7 +445,7 @@ static void ceetm_cls_destroy(struct Qdi
26 - qdisc_destroy(cl->prio.child);
27 + qdisc_put(cl->prio.child);
28 cl->prio.child = NULL;
31 @@ -567,7 +567,7 @@ static void ceetm_destroy(struct Qdisc *
33 for (ntx = 0; ntx < dev->num_tx_queues; ntx++)
34 if (priv->root.qdiscs[ntx])
35 - qdisc_destroy(priv->root.qdiscs[ntx]);
36 + qdisc_put(priv->root.qdiscs[ntx]);
38 kfree(priv->root.qdiscs);
40 @@ -1367,7 +1367,7 @@ static void ceetm_attach(struct Qdisc *s
41 qdisc = priv->root.qdiscs[i];
42 old_qdisc = dev_graft_qdisc(qdisc->dev_queue, qdisc);
44 - qdisc_destroy(old_qdisc);
45 + qdisc_put(old_qdisc);
48 kfree(priv->root.qdiscs);