]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: ni_atmio16d: remove printk() noise in atmio16d_ai_insn_read()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Nov 2013 23:42:29 +0000 (16:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 17:20:23 +0000 (09:20 -0800)
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>
drivers/staging/comedi/drivers/ni_atmio16d.c

index a9f7d40d6db24ed32f8efcd07bef5e4ce94160f6..95e98a8cb6a0b55fdca701c993fd999203c23372 100644 (file)
@@ -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;