X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Fbluetooth%2Fdtl1_cs.c;h=dae45cdf02b2db78db84531bd5b0a41243ad891b;hb=a8827113abb5bd1506d9be78115950d213d9a071;hp=7f9c54b9964a22fac39628bba97a322ffb76353a;hpb=b7405e16435f710edfae6ba32bef4ca20d3de145;p=cascardo%2Flinux.git diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c index 7f9c54b9964a..dae45cdf02b2 100644 --- a/drivers/bluetooth/dtl1_cs.c +++ b/drivers/bluetooth/dtl1_cs.c @@ -298,10 +298,7 @@ static irqreturn_t dtl1_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;