diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-07-25 16:11:28 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-26 15:10:08 -0700 |
| commit | c5bbfe500be3c8f9f45d45b1ac644271761610a1 (patch) | |
| tree | e8fa292f1178fa12b742734f921494f793ad8131 /include | |
| parent | 66ce147c7d40b77704b44b6b2071d91f7c510b33 (diff) | |
staging: comedi: usbdux: 'dac_commands' does not need to be kzalloc()'d
The 'dac_commands' buffer is used to pass the ao channel list from
usbdux_ao_cmd() to the urb callback, usbduxsub_ao_isoc_irq(). This
buffer does not need to be allocated.
Change it into a simple array of the correct size. Rename the variable
to 'ao_chanlist' to clarify what it actually is.
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 'include')
0 files changed, 0 insertions, 0 deletions
