staging: comedi: comedi_fops: remove commented out debug messages
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 18 Jul 2014 20:29:58 +0000 (13:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 23:08:01 +0000 (16:08 -0700)
Remove the commented out printk() debug.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c

index 9670b244fc69cc077b60c1d0f6fb05245431053c..175003125784933c95937d24a3f01143c5bd2391 100644 (file)
@@ -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;