staging: comedi: adl_pci9111: remove chanlist_len checks
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 01:58:29 +0000 (18:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 03:05:55 +0000 (20:05 -0700)
commite6e69aa1306c5daa3f4a5e7b88b784b68b5cb00c
treee8578b3420930c701a5176791300837620aa15b4
parent3acf31763f3e499b6ba9a1eaabb98a1922883e55
staging: comedi: adl_pci9111: remove chanlist_len checks

The chanlist_len is validated by the comedi core before calling
the do_cmdtest function. Remove these redundant checks.

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