From: H Hartley Sweeten Date: Wed, 22 Oct 2014 21:36:50 +0000 (-0700) Subject: staging: comedi: comedi_buf: comedi_buf_memcpy_to() remove 'offset' param X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~780 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=319ad742bddace99d6576e4b6fba1f074f29ed2a;p=pandora-kernel.git staging: comedi: comedi_buf: comedi_buf_memcpy_to() remove 'offset' param This parameter is always passed as '0'. Remove the unnecessary parameter. This allows removing the unnecessary check of the write_ptr overflow. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed