[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)
commitac019360fe311dd6aa11b358a02eb3a61675882e
treedfbfeb253ba43c3142c8a06e22bfea5182d700f3
parent166d2f6a4332aad53cb0750a296f76c06102552d
[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