diff --git a/drivers/staging/comedi/drivers/ni_labpc.c b/drivers/staging/comedi/drivers/ni_labpc.c index f9c720938e2780e5a3b0845aecf4b97360cc7a21..56d60847f820cb1e72a7c856c14988a286e60d09 100644 --- a/drivers/staging/comedi/drivers/ni_labpc.c +++ b/drivers/staging/comedi/drivers/ni_labpc.c @@ -858,11 +858,6 @@ static int labpc_ai_cmd(struct comedi_device *dev, struct comedi_subdevice *s) enum scan_mode mode; unsigned long flags; - if (!dev->irq) { - comedi_error(dev, "no irq assigned, cannot perform command"); - return -1; - } - range = CR_RANGE(cmd->chanlist[0]); aref = CR_AREF(cmd->chanlist[0]);