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:
parent
279579e40b
commit
b8cd7941a0
1 changed files with 2 additions and 3 deletions
|
@ -142,10 +142,9 @@ static int cb_pcimdas_ai_rinsn(struct comedi_device *dev,
|
||||||
if (!busy)
|
if (!busy)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (i == TIMEOUT) {
|
if (i == TIMEOUT)
|
||||||
printk("timeout\n");
|
|
||||||
return -ETIMEDOUT;
|
return -ETIMEDOUT;
|
||||||
}
|
|
||||||
/* read data */
|
/* read data */
|
||||||
data[n] = inw(dev->iobase + 0);
|
data[n] = inw(dev->iobase + 0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue