staging: comedi: usbduxsigma: remove AI scan_begin_src == TRIG_FOLLOW
authorIan Abbott <abbotti@mev.co.uk>
Thu, 23 Jul 2015 15:46:59 +0000 (16:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 20:32:28 +0000 (13:32 -0700)
commit12e1e6960130673aabbbe7f094c4690b00618881
treefb97d78cefd28f1e35541b9996346c5fe50e7e65
parentc04a1f17803e0d3eeada586ca34a6b436959bc20
staging: comedi: usbduxsigma: remove AI scan_begin_src == TRIG_FOLLOW

The AI subdevice `cmdtest` handler `usbduxsigma_ai_cmdtest()` ensures
that `cmd->scan_begin_src == TRIG_TIMER` by the end of step 2 of the
command checking code, so assume that this is the case for step 3
onwards and remove the redundant code.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: Bernd Porr <mail@berndporr.me.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxsigma.c