git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b5c007
)
pkt_sched: sch_htb: Optimize WARN_ONs in htb_dequeue_tree() etc.
author
Jarek Poplawski
<jarkao2@gmail.com>
Wed, 10 Dec 2008 06:35:02 +0000
(22:35 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 10 Dec 2008 06:35:02 +0000
(22:35 -0800)
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 <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found