diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-01-13 00:29:14 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:01:59 -0500 |
commit | d88c305a03c37a95c4b27e1a0c2e387bb7ce80df (patch) | |
tree | f58a40e9a24c804ce3a24c73cf804c08062d6202 /net/sched | |
parent | 8519660b98349fb922157fa2f5fb6e49eb17ad38 (diff) |
[PKT_SCHED] HTB: htb_classid is dead static inline
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_htb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 72beb66cec9c..6a2352cd9c2e 100644 --- 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) | |||
214 | * then finish and return direct queue. | 214 | * then finish and return direct queue. |
215 | */ | 215 | */ |
216 | #define HTB_DIRECT (struct htb_class*)-1 | 216 | #define HTB_DIRECT (struct htb_class*)-1 |
217 | static inline u32 htb_classid(struct htb_class *cl) | ||
218 | { | ||
219 | return (cl && cl != HTB_DIRECT) ? cl->classid : TC_H_UNSPEC; | ||
220 | } | ||
221 | 217 | ||
222 | static struct htb_class *htb_classify(struct sk_buff *skb, struct Qdisc *sch, | 218 | static struct htb_class *htb_classify(struct sk_buff *skb, struct Qdisc *sch, |
223 | int *qerr) | 219 | int *qerr) |