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>
This commit is contained in:
parent
bbedf943f2
commit
5ee226306c
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue