[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200424090450.44532-1-yuehaibing@huawei.com>
Date: Fri, 24 Apr 2020 17:04:50 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <davem@...emloft.net>, <kuba@...nel.org>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH net-next] net: sched: remove unused inline function qdisc_reset_all_tx
There's no callers in-tree anymore.
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
include/net/sch_generic.h | 5 -----
1 file changed, 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)
{
--
2.17.1
Powered by blists - more mailing lists