From: H Hartley Sweeten Date: Wed, 22 Oct 2014 21:36:51 +0000 (-0700) Subject: staging: comedi: comedi_buf: comedi_buf_memcpy_from() remove 'offset' param X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~779 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca7f61cd67f7cd581bc6ba968072b4f7b0a2ef8;p=pandora-kernel.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed