staging: comedi: pcl816: remove unneeded tests in pcl816_ai_cmdtest
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 14 Jun 2012 00:50:53 +0000 (17:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Jun 2012 00:25:47 +0000 (17:25 -0700)
commit2b8557a734ab17d2cbb96a79bc267b30055e0ef3
tree0386ad410ce78e4f9c2409e693b349065b61bc4c
parent985eb50d553f4e2609778f999ecc5ec9837152f0
staging: comedi: pcl816: remove unneeded tests in pcl816_ai_cmdtest

The step 2 tests of the start_src, scan_begin_src, and scan_end_src
triggers to make sure they are unique are not needed.  These triggers
all only have one source and it was 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/pcl816.c