staging: comedi: adl_pci9118: cmd->stop_src == TRIG_INT is not supported
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 5 May 2014 16:35:38 +0000 (09:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:18:54 +0000 (21:18 +0900)
commit681a89b3e0c0b966eeda481503c658e051604d17
tree9172fc2719bb96dcbe7f8b2176ada9cf512202d8
parentf3f15e54ac48b6f68f05973164abc824c4f7dfcf
staging: comedi: adl_pci9118: cmd->stop_src == TRIG_INT is not supported

The (*do_cmdtest) only allows TRIG_COUNT, TRIG_NONE, or TRIG_EXT as the
cmd->stop_src. Remove the disabled code.

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