commit | 71ba7506f05e6512e4b25df2233fa238025399d5 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue May 27 10:30:47 2014 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 28 14:28:52 2014 -0700 |
tree | 1ec162258d4f217449aac99cd7cfc0c4aec9a38b | |
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>