diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2015-10-19 13:12:57 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-24 19:17:13 -0700 |
| commit | 7c999314efef94be997b762bc22f0be55e139df8 (patch) | |
| tree | 871648ec8e7f23ef96f479159a20cc9c7cb57356 /tools/perf/scripts/python | |
| parent | 323538b825d4b1eb6c8a9022998822898ab52dff (diff) | |
staging: comedi: adl_pci9118: remove unnecessary check in check_channel_list()
Step 3 of the AI (*do_cmdtest) validates that the cmd->chanlist_len is >= 1. If
it's not the (*do_cmdtest) fails and check_channel_list() is never called. This
This function is also called by the AI (*do_cmd) and the comedi core ensures
that the async command has a valid chanlist. Remove the unnecessary 'n_chan'
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
