From: H Hartley Sweeten Date: Mon, 23 Feb 2015 21:57:59 +0000 (-0700) Subject: staging: comedi: amplc_dio200_common: remove unnecessary 'counter_number' checks X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~720 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed023d529ce44c0e3c41101a344d80259bd96443;p=pandora-kernel.git staging: comedi: amplc_dio200_common: remove unnecessary 'counter_number' checks The 'counter_number' in these functions is the comedi channel number from the chanspec. The comedi core validates the chanspec before calling the driver functions. Remove the unnecessary checks. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed