From: H Hartley Sweeten Date: Mon, 21 Jul 2014 18:48:32 +0000 (-0700) Subject: staging: comedi: comedidev.h: remove 'new_size' param from subdevice (*buf_change) X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~345 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d546b8966e66b114809d4af14e2d837adeeec2fc;p=pandora-kernel.git staging: comedi: comedidev.h: remove 'new_size' param from subdevice (*buf_change) This parameter is never used by any of the comedi drivers that provide a (*buf_change) callback. If the 'new_size' is needed in the callback it can be found from the 's->async->prealloc_bufsz' as done in the ni_pcidio driver. Remove the unused parameter. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed