projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8519660
)
[PKT_SCHED] HTB: htb_classid is dead static inline
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Sun, 13 Jan 2008 05:29:14 +0000
(21:29 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 23:01:59 +0000
(15:01 -0800)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_htb.c
b/net/sched/sch_htb.c
index 72beb66cec9c2ad1a6e95f05f97c612972f7a6bc..6a2352cd9c2eeac2a974a64df045ec938644dbd5 100644
(file)
--- a/
net/sched/sch_htb.c
+++ b/
net/sched/sch_htb.c
@@
-214,10
+214,6
@@
static inline struct htb_class *htb_find(u32 handle, struct Qdisc *sch)
* then finish and return direct queue.
*/
#define HTB_DIRECT (struct htb_class*)-1
-static inline u32 htb_classid(struct htb_class *cl)
-{
- return (cl && cl != HTB_DIRECT) ? cl->classid : TC_H_UNSPEC;
-}
static struct htb_class *htb_classify(struct sk_buff *skb, struct Qdisc *sch,
int *qerr)