aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2017-11-15 17:34:51 -0800
committerLinus Torvalds <[email protected]>2017-11-15 18:21:03 -0800
commit028a63a6e381d7d109e19db4740085d1b655c539 (patch)
treedd4ef116cef498eb6e59aaf2c7bb9404e94e1ced /tools/perf/scripts/python/syscall-counts.py
parent69c4f35d25e475c07d1e5c033bfb514db360a079 (diff)
f2fs: simplify page iteration loops
In several places we want to iterate over all tagged pages in a mapping. However the code was apparently copied from places that iterate only over a limited range and thus it checks for index <= end, optimizes the case where we are coming close to range end which is all pointless when end == ULONG_MAX. So just remove this dead code. [[email protected]: fix warnings] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Daniel Jordan <[email protected]> Reviewed-by: Chao Yu <[email protected]> Cc: Jaegeuk Kim <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions