diff options
Diffstat (limited to 'net/sched/sch_htb.c')
-rw-r--r-- | net/sched/sch_htb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index b417a95df322..246a2f9765f1 100644 --- a/net/sched/sch_htb.c +++ b/net/sched/sch_htb.c | |||
@@ -249,9 +249,6 @@ static struct htb_class *htb_classify(struct sk_buff *skb, struct Qdisc *sch, | |||
249 | case TC_ACT_SHOT: | 249 | case TC_ACT_SHOT: |
250 | return NULL; | 250 | return NULL; |
251 | } | 251 | } |
252 | #elif defined(CONFIG_NET_CLS_POLICE) | ||
253 | if (result == TC_POLICE_SHOT) | ||
254 | return HTB_DIRECT; | ||
255 | #endif | 252 | #endif |
256 | if ((cl = (void *)res.class) == NULL) { | 253 | if ((cl = (void *)res.class) == NULL) { |
257 | if (res.classid == sch->handle) | 254 | if (res.classid == sch->handle) |