projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b97477
)
net/sched: Remove unused function qdisc_queue_drop_head()
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 16 Sep 2020 14:16:29 +0000
(22:16 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 17 Sep 2020 23:27:10 +0000
(16:27 -0700)
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>
include/net/sch_generic.h
patch
|
blob
|
history
diff --git
a/include/net/sch_generic.h
b/include/net/sch_generic.h
index
d60e7c3
..
6c76245
100644
(file)
--- 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;