Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

H Hartley Sweeten and committed by
Greg Kroah-Hartman
d4bdba2f 2f4a269b

+1 -6
+1 -6
drivers/staging/comedi/drivers/ni_atmio16d.c
··· 495 495 break; 496 496 } 497 497 if (status & STAT_AD_OVERFLOW) { 498 - printk(KERN_INFO "atmio16d: a/d FIFO overflow\n"); 499 498 outw(0, dev->iobase + AD_CLEAR_REG); 500 - 501 499 return -ETIME; 502 500 } 503 501 } 504 502 /* end waiting, now check if it timed out */ 505 - if (t == ATMIO16D_TIMEOUT) { 506 - printk(KERN_INFO "atmio16d: timeout\n"); 507 - 503 + if (t == ATMIO16D_TIMEOUT) 508 504 return -ETIME; 509 - } 510 505 } 511 506 512 507 return i;