summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-01-13 10:16:38 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-01-17 14:31:31 -0800
commitafd8f40f6f10bb43c445458a36b873add4dd08f3 (patch)
treebf73a4fba248d8dd8bb8a6abd6d7b4760d1d507a /tools/perf/scripts/python
parentac525a7f724ef47cae087fc2b09978a5fdda829c (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions