From: H Hartley Sweeten Date: Wed, 23 Apr 2014 23:06:58 +0000 (-0700) Subject: staging: comedi: adv_pci1710: cmd->scan_begin_src can only be TRIG_FOLLOW X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1290 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c56cad003decb41d5690ab7b5b74b89d3e3471ba;p=pandora-kernel.git staging: comedi: adv_pci1710: cmd->scan_begin_src can only be TRIG_FOLLOW In Step 1 of the (*do_cmdtest), the cmd->scan_begin_src is checked to only allow TRIG_FOLLOW. The (*do_cmd) does not need to recheck this. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed