From: H Hartley Sweeten Date: Fri, 18 Jul 2014 20:29:58 +0000 (-0700) Subject: staging: comedi: comedi_fops: remove commented out debug messages X-Git-Tag: firefly_0821_release~176^2~3491^2~493 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5ee226306cdc46c68bbbacdbb76120e18a5ae239;p=firefly-linux-kernel-4.4.55.git staging: comedi: comedi_fops: remove commented out debug messages Remove the commented out printk() debug. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index 9670b244fc69..175003125784 100644 --- a/drivers/staging/comedi/comedi_fops.c +++ b/drivers/staging/comedi/comedi_fops.c @@ -2222,10 +2222,8 @@ static ssize_t comedi_read(struct file *file, char __user *buf, size_t nbytes, n = nbytes; m = comedi_buf_read_n_available(s); - /* printk("%d available\n",m); */ if (async->buf_read_ptr + m > async->prealloc_bufsz) m = async->prealloc_bufsz - async->buf_read_ptr; - /* printk("%d contiguous\n",m); */ if (m < n) n = m;