aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChris Opperman <[email protected]>2018-06-13 19:14:35 +0200
committerGreg Kroah-Hartman <[email protected]>2018-06-17 09:05:11 +0200
commit2665df51017b15119987913bfa39d02d71cb7232 (patch)
tree05f90d6c15d4ae1e54114d804acd52f6910208d1 /tools/perf/scripts/python/bin
parentfbe1be81b2840f4f5a25405e92cf67b69bafe9c1 (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 <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions