mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
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
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user