]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: comedi: adv_pci1710: Remove unneeded chanlist_len check
authorIan Abbott <abbotti@mev.co.uk>
Wed, 20 Jan 2010 13:04:48 +0000 (13:04 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:48 +0000 (16:42 -0800)
commit09c8f309af02e2f7b74e0a294bbb45031d99800c
treef7f2d195813edc2de7fcdb46057f3da699275485
parenta37d38f92eff173254a58b0f4d60119cd962357e
Staging: comedi: adv_pci1710: 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/adv_pci1710.c