aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Opperman <eklikeroomys@gmail.com>2018-06-13 19:14:35 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-17 09:05:11 +0200
commit2665df51017b15119987913bfa39d02d71cb7232 (patch)
tree05f90d6c15d4ae1e54114d804acd52f6910208d1 /tools/perf/scripts/python
parentstaging: comedi: drivers: ni_mio_common: add names to function pointer parameters. (diff)
staging: comedi: Improved readability of function comedi_nsamples_left.
Improve readability of comedi_nsamples_left: a) Reduce nesting by using more return statements. b) Declare variables scans_left and samples_left at start of function. c) Change type of scans_Left to unsigned long long to avoid cast. Signed-off-by: Chris Opperman <eklikeroomys@gmail.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