mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 17:35:36 -04:00
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:
committed by
Greg Kroah-Hartman
parent
bbedf943f2
commit
5ee226306c
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user