From: Jarek Poplawski Date: Wed, 10 Dec 2008 06:35:02 +0000 (-0800) Subject: pkt_sched: sch_htb: Optimize WARN_ONs in htb_dequeue_tree() etc. X-Git-Tag: v2.6.29-rc1~581^2~270 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=512bb43eb5422ee69a1be05ea0d89dc074fac9a2;p=pandora-kernel.git pkt_sched: sch_htb: Optimize WARN_ONs in htb_dequeue_tree() etc. We can skip WARN_ON() in htb_dequeue_tree() because there should be always a similar warning from htb_lookup_leaf() earlier. The first WARN_ON() in in htb_lookup_leaf() is changed to BUG_ON() because most likly this should end with oops anyway. Signed-off-by: Jarek Poplawski Signed-off-by: David S. Miller --- Reading git-diff-tree failed