projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Bluetooth] Eliminate checks for impossible conditions in IRQ handler
[linux-2.6-block.git]
/
drivers
/
bluetooth
/
bt3c_cs.c
diff --git
a/drivers/bluetooth/bt3c_cs.c
b/drivers/bluetooth/bt3c_cs.c
index 39516074636b86b1446b8904af9963b7a15925a7..a18f9b8c9e128c33e8c3942ce55d3b7197d22ecb 100644
(file)
--- a/
drivers/bluetooth/bt3c_cs.c
+++ b/
drivers/bluetooth/bt3c_cs.c
@@
-344,10
+344,7
@@
static irqreturn_t bt3c_interrupt(int irq, void *dev_inst)
unsigned int iobase;
int iir;
- if (!info || !info->hdev) {
- BT_ERR("Call of irq %d for unknown device", irq);
- return IRQ_NONE;
- }
+ BUG_ON(!info->hdev);
iobase = info->p_dev->io.BasePort1;