staging: comedi: pcl812: remove unneeded tests in pcl812_ai_cmdtest
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 14 Jun 2012 00:58:07 +0000 (17:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Jun 2012 00:25:47 +0000 (17:25 -0700)
commit31a4590ee31f2b46d28a4b85f84b04e90fa7ae00
tree5163cf6e386db9bfa273b4aa46416d80d8d3bd6a
parentf7f111c214f218483a23d40a1f8e2d798b6e130a
staging: comedi: pcl812: remove unneeded tests in pcl812_ai_cmdtest

The step 2 tests to make sure that the triggers are unique is not
needed for single source triggers. These were already trivially
validated in step 1.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcl812.c