From: H Hartley Sweeten Date: Tue, 27 May 2014 17:31:13 +0000 (-0700) Subject: staging: comedi: usbduxfast: remove unreachable code in usbduxfast_ai_cmd() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71cf2b4aaa1c1055ade82917972832f70180cfcb;p=pandora-kernel.git staging: comedi: usbduxfast: remove unreachable code in usbduxfast_ai_cmd() The (*do_cmdtest) validates that the 'stop_arg' is >= 1 for a 'stop_src' of TRIG_COUNT and the 'scan_end_arg' is validated to be the 'chanlist_len' which will always be >= 1. Remove the unreachable error code for an 'ai_sample_count < 1'. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed