diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-07-29 17:46:46 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-31 17:44:58 -0700 |
| commit | 315a276da9952f481edc2396deab455173dbaea8 (patch) | |
| tree | c996e46e3586d54b96f557ff03de0cb6a379d41e /include/linux | |
| parent | ef1e3c4a3b383c6da3979670fcb5c6e9c7de4741 (diff) | |
staging: comedi: usbduxsigma: 'dac_commands' does not need to be kzalloc()'d
The 'dac_commands' buffer is used to pass the ao channel list from
usbduxsigma_ao_cmd() to the urb callback, usbduxsigma_ao_urb_complete().
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/linux')
0 files changed, 0 insertions, 0 deletions
