staging: comedi: cb_pcimdas: remove unnecessary printk noise

The ai read timeout will return -ETIMEDOUT. The printk is just added
noise. Remove it.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
H Hartley Sweeten 2013-11-26 16:41:42 -07:00 committed by Greg Kroah-Hartman
parent 279579e40b
commit b8cd7941a0

View File

@ -142,10 +142,9 @@ static int cb_pcimdas_ai_rinsn(struct comedi_device *dev,
if (!busy)
break;
}
if (i == TIMEOUT) {
printk("timeout\n");
if (i == TIMEOUT)
return -ETIMEDOUT;
}
/* read data */
data[n] = inw(dev->iobase + 0);
}