mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
staging: comedi: dt2814: 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
d7bfe8e845
commit
f0256161c2
@ -85,10 +85,8 @@ static int dt2814_ai_insn_read(struct comedi_device *dev,
|
|||||||
if (status & DT2814_FINISH)
|
if (status & DT2814_FINISH)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (i >= DT2814_TIMEOUT) {
|
if (i >= DT2814_TIMEOUT)
|
||||||
printk(KERN_INFO "dt2814: status: %02x\n", status);
|
|
||||||
return -ETIMEDOUT;
|
return -ETIMEDOUT;
|
||||||
}
|
|
||||||
|
|
||||||
hi = inb(dev->iobase + DT2814_DATA);
|
hi = inb(dev->iobase + DT2814_DATA);
|
||||||
lo = inb(dev->iobase + DT2814_DATA);
|
lo = inb(dev->iobase + DT2814_DATA);
|
||||||
|
Loading…
Reference in New Issue
Block a user