diff options
| author | 2015-01-13 10:16:38 -0700 | |
|---|---|---|
| committer | 2015-01-17 14:31:31 -0800 | |
| commit | afd8f40f6f10bb43c445458a36b873add4dd08f3 (patch) | |
| tree | bf73a4fba248d8dd8bb8a6abd6d7b4760d1d507a /scripts | |
| parent | staging: comedi: ni_labpc_isadma: remove hard coded samples size (diff) | |
staging: comedi: ni_labpc_isadma: convert 'dma_buffer_size' to a define
For aesthetics, convert this statis const global variable to a define.
Cleanup the maximum 'size' calc in labpc_suggest_transfer_size(). The modulo
operation will always result in '0'.
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 'scripts')
0 files changed, 0 insertions, 0 deletions
