aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-09-16 22:16:29 +0800
committerDavid S. Miller <davem@davemloft.net>2020-09-17 16:27:10 -0700
commit2b7ea122a0c437442bf54a5f1c60155757df270c (patch)
treee00f72e97a8658c68119e8bc11b629d5b9f1d061 /include/net/sch_generic.h
parentselftests: mptcp: interpret \n as a new line (diff)
downloadlinux-dev-2b7ea122a0c437442bf54a5f1c60155757df270c.tar.xz
linux-dev-2b7ea122a0c437442bf54a5f1c60155757df270c.zip
net/sched: Remove unused function qdisc_queue_drop_head()
It is not used since commit a09ceb0e0814 ("sched: remove qdisc->drop") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sch_generic.h')
-rw-r--r--include/net/sch_generic.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index d60e7c39d60c..6c762457122f 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -1047,12 +1047,6 @@ static inline unsigned int __qdisc_queue_drop_head(struct Qdisc *sch,
return 0;
}
-static inline unsigned int qdisc_queue_drop_head(struct Qdisc *sch,
- struct sk_buff **to_free)
-{
- return __qdisc_queue_drop_head(sch, &sch->q, to_free);
-}
-
static inline struct sk_buff *qdisc_peek_head(struct Qdisc *sch)
{
const struct qdisc_skb_head *qh = &sch->q;