commit | 0ca7f61cd67f7cd581bc6ba968072b4f7b0a2ef8 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Oct 22 14:36:51 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Oct 29 16:01:20 2014 +0800 |
tree | bfd72865693c67267c4dad3d30da9d37527e114b | |
parent | 319ad742bddace99d6576e4b6fba1f074f29ed2a [diff] |
staging: comedi: comedi_buf: comedi_buf_memcpy_from() remove 'offset' param This parameter is always passed as '0'. Remove the unnecessary parameter. This allows removing the unnecessary check of the read_ptr overflow. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>