commit | 66ce147c7d40b77704b44b6b2071d91f7c510b33 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Thu Jul 25 16:11:10 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jul 26 15:10:08 2013 -0700 |
tree | ee3b2f17e33acc3a313e7c7d0ebbe0c323ebaebb | |
parent | b979e485b4b9ed7aff8a987f3638b3be5983268c [diff] |
staging: comedi: usbdux: remove unnecessary check in usbdux_ao_cmd() This check is not necessary. The cmd->chanlist_len will always be less than or equal to the subdevice len_chanlist that was setup during the attach of the device. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>