]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: pcl812: trigger sources were validated in (*do_cmdtest)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 10 Feb 2014 22:20:36 +0000 (15:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2014 17:31:31 +0000 (09:31 -0800)
commitc599235902f653f3eb42546cbf8299da1c445e45
treeeb4134f661f9205f54f375617392909cf2be9adc
parentb41b267dbd17a24657c9bac2150fc1f10061b522
staging: comedi: pcl812: trigger sources were validated in (*do_cmdtest)

The trigger sources were already validataed in the (*do_cmdtest) before the
(*do_cmd) is called. Remove the unnecessary checks in pcl812_ai_cmd().

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