commit | 03611e5491e488f30a5b7653e02ee65032cfba14 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Wed Aug 05 10:44:41 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 07 15:03:27 2015 -0700 |
tree | 0a1ce9b877a66f92d33a0e69ab9216d871611845 | |
parent | 31bebc030fb2a6e2e7e7ea19ce58a0f196280281 [diff] |
staging: comedi: me4000: remove 'chan' check in me4000_ai_insn_read() The comedi core validates that the 'chan' is valid for the subdevice before calling the (*insn_read) operation. Remove the unnecessary check. 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>