Revert "Check integer overflow in do_cmd_ioctl() and do_cmdtest_ioctl()."
authorIan Abbott <abbotti@mev.co.uk>
Fri, 13 Jan 2012 10:29:58 +0000 (10:29 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Fri, 13 Jan 2012 10:29:58 +0000 (10:29 +0000)
commitb805037624b1789d296d9921c22e94c22af425c9
treeefe7e6294d61d41b1930d9f4ca11e10ed0decccb
parent9132598c22632ac643b5ab0e5bd295210e6724a8
Revert "Check integer overflow in do_cmd_ioctl() and do_cmdtest_ioctl()."

This reverts commit 824ffcaf3a1bd55a111ed67cf5b0cb3cd18b405f.

The check is unnecessary because user_cmd.chanlist_len has already been
checked against the maximum supported by the subdevice.

Thanks to Dan Carpenter for pointing this out.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
comedi/comedi_fops.c