summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-07-18 13:29:58 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-18 16:08:01 -0700
commit5ee226306cdc46c68bbbacdbb76120e18a5ae239 (patch)
tree437daa1d63f6c0c531e592ecafba441a2ec87562
parentbbedf943f2380e4d0d5c00b196791ddc484f3b6c (diff)
staging: comedi: comedi_fops: remove commented out debug messages
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>
-rw-r--r--drivers/staging/comedi/comedi_fops.c2
1 files changed, 0 insertions, 2 deletions
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;