]> git.baikalelectronics.ru Git - kernel.git/commit
[Bluetooth] Eliminate checks for impossible conditions in IRQ handler
authorJeff Garzik <jeff@garzik.org>
Sat, 20 Oct 2007 11:45:57 +0000 (13:45 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 22 Oct 2007 09:59:44 +0000 (02:59 -0700)
commit588cba87497957a494884890a8961e311c285ecc
treedfbfeb253ba43c3142c8a06e22bfea5182d700f3
parent9a465d291061ed8ddff15647557468531d4cc6c1
[Bluetooth] Eliminate checks for impossible conditions in IRQ handler

Our info structure and info->hdev is always passed to the IRQ handler,
so we don't have to worry about these checks in every interrupt.

Leave a BUG_ON() just to help unwary programmers, but these could
probably be removed as well.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/bluecard_cs.c
drivers/bluetooth/bt3c_cs.c
drivers/bluetooth/btuart_cs.c
drivers/bluetooth/dtl1_cs.c