]> err.no Git - linux-2.6/blobdiff - drivers/bluetooth/btuart_cs.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[linux-2.6] / drivers / bluetooth / btuart_cs.c
index d7d2ea0d86a179a3330d4f96feeaf66f55c0b632..08f48d577ababf1b38bb0cf4693a311922392a8e 100644 (file)
@@ -294,10 +294,7 @@ static irqreturn_t btuart_interrupt(int irq, void *dev_inst)
        int boguscount = 0;
        int iir, lsr;
 
-       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;