summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-04-24 17:04:50 +0800
committerDavid S. Miller <davem@davemloft.net>2020-04-24 16:57:31 -0700
commit7f023ec91c3cb188ab8a52478f3145ccd4daef68 (patch)
treed032f50bcc23e8e6b3ebd3e472897693516c173a
parentd9e4171a4a2cf20e803eb31a92d6854ea7002c38 (diff)
net: sched: remove unused inline function qdisc_reset_all_tx
There's no callers in-tree anymore. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/net/sch_generic.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index 25d2ec4c8f00..1862bf5a105b 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -710,11 +710,6 @@ static inline void qdisc_reset_all_tx_gt(struct net_device *dev, unsigned int i)
}
}
-static inline void qdisc_reset_all_tx(struct net_device *dev)
-{
- qdisc_reset_all_tx_gt(dev, 0);
-}
-
/* Are all TX queues of the device empty? */
static inline bool qdisc_all_tx_empty(const struct net_device *dev)
{