diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-11-26 16:42:29 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-03 09:20:23 -0800 |
commit | d4bdba2f602e10ecad17e495ded089085cbd72f2 (patch) | |
tree | 375182a8617270733eea878a15679ac050492954 | |
parent | 2f4a269b27a4a77b98fe466c6ae48985c913dc64 (diff) | |
download | linux-d4bdba2f602e10ecad17e495ded089085cbd72f2.tar.gz linux-d4bdba2f602e10ecad17e495ded089085cbd72f2.tar.bz2 linux-d4bdba2f602e10ecad17e495ded089085cbd72f2.zip |
staging: comedi: ni_atmio16d: remove printk() noise in atmio16d_ai_insn_read()
These printk messages are just added noise. Remove them.
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>
-rw-r--r-- | drivers/staging/comedi/drivers/ni_atmio16d.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/comedi/drivers/ni_atmio16d.c b/drivers/staging/comedi/drivers/ni_atmio16d.c index a9f7d40d6db2..95e98a8cb6a0 100644 --- a/drivers/staging/comedi/drivers/ni_atmio16d.c +++ b/drivers/staging/comedi/drivers/ni_atmio16d.c @@ -495,18 +495,13 @@ static int atmio16d_ai_insn_read(struct comedi_device *dev, break; } if (status & STAT_AD_OVERFLOW) { - printk(KERN_INFO "atmio16d: a/d FIFO overflow\n"); outw(0, dev->iobase + AD_CLEAR_REG); - return -ETIME; } } /* end waiting, now check if it timed out */ - if (t == ATMIO16D_TIMEOUT) { - printk(KERN_INFO "atmio16d: timeout\n"); - + if (t == ATMIO16D_TIMEOUT) return -ETIME; - } } return i; |