mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[PKT_SCHED] HTB: htb_classid is dead static inline
Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
8519660b98
commit
d88c305a03
1 changed files with 0 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue