staging: comedi: cb_pcidas64: remove unnecessary Step 2b test in (*do_cmdtest)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 23 Apr 2014 22:52:31 +0000 (15:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 21:07:50 +0000 (14:07 -0700)
commita5c9c71f8901b4ce61fd858bdcca5a8f2750b296
tree874f5a7f1710f62e4e529a0289e29195dc504efb
parent0fb21b2c1a057139c096f36d7dce4d38977f3129
staging: comedi: cb_pcidas64: remove unnecessary Step 2b test in (*do_cmdtest)

This test is unnecessary. The cfc_check_trigger_src() in Step 1 ensures that
the trigger source is one of these values and Step 2 makes sure it's only one
of these values.

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/cb_pcidas64.c