]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: comedi: pcl818: Remove unneeded chanlist_len check
authorIan Abbott <abbotti@mev.co.uk>
Wed, 20 Jan 2010 13:04:51 +0000 (13:04 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:48 +0000 (16:42 -0800)
commit327b421374ad0f6707ecf45003ad4e938607d35c
treebaee93fe70015d5167018de37edd8483a4e564d1
parentdc9fa5ddec1686305d3a44ff1a7667600d6c0781
Staging: comedi: pcl818: Remove unneeded chanlist_len check

For AI command testing, the driver does not need to range-check the
length of the channel list as the comedi core has already checked it.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/pcl818.c