summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-11-15 17:34:51 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-07-08 17:36:10 -0700
commit6cf6fb8645ffa50459fc2a1599e9ccbcce2eb87a (patch)
tree61e7588381ff99962b9815ff05648349e86f9edc /tools/perf/scripts/python/netdev-times.py
parenta05d8a6a2bdec7ed7200390d33dd45656df2d2eb (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. [akpm@linux-foundation.org: fix warnings] Link: http://lkml.kernel.org/r/20171009151359.31984-7-jack@suse.cz Signed-off-by: Jan Kara <jack@suse.cz> Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Cc: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions