From: Ilpo Järvinen Date: Sun, 13 Jan 2008 05:29:14 +0000 (-0800) Subject: [PKT_SCHED] HTB: htb_classid is dead static inline X-Git-Tag: v2.6.25-rc1~1162^2~764 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d88c305a03c37a95c4b27e1a0c2e387bb7ce80df;p=linux-2.6-omap-h63xx.git [PKT_SCHED] HTB: htb_classid is dead static inline Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 72beb66cec9..6a2352cd9c2 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) * 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)