diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-05-27 10:30:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 14:28:52 -0700 |
commit | 71ba7506f05e6512e4b25df2233fa238025399d5 (patch) | |
tree | 1ec162258d4f217449aac99cd7cfc0c4aec9a38b /tools/perf/scripts/python | |
parent | 9dad12fe4746c091ba7304bbd690f4a05fb1216a (diff) |
staging: comedi: amplc_dio200_common: use comedi_cmd pointer
Use the local variable to access the comedi_cmd as a pointer
in dio200_read_scan_intr() instead of getting to it from the
comedi_subdevice pointer.
Remove the unnecessary local variable 'len', this is just the
cmd->chanlist_len.
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