提交 f0256161 编写于 作者: H H Hartley Sweeten 提交者: Greg Kroah-Hartman

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: NH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: NIan Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d7bfe8e8
......@@ -85,10 +85,8 @@ static int dt2814_ai_insn_read(struct comedi_device *dev,
if (status & DT2814_FINISH)
break;
}
if (i >= DT2814_TIMEOUT) {
printk(KERN_INFO "dt2814: status: %02x\n", status);
if (i >= DT2814_TIMEOUT)
return -ETIMEDOUT;
}
hi = inb(dev->iobase + DT2814_DATA);
lo = inb(dev->iobase + DT2814_DATA);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册