aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_sysctl.c
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2008-12-09 22:35:02 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-09 22:35:02 -0800
commit512bb43eb5422ee69a1be05ea0d89dc074fac9a2 (patch)
tree8d38219eff87fbf684fb168cc0d32647e8037f98 /drivers/scsi/scsi_sysctl.c
parent1b5c0077e1615bb16e777a10ec1fc1195ba059ac (diff)
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 <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/scsi_sysctl.c')
0 files changed, 0 insertions, 0 deletions