aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHuang Shijie <[email protected]>2009-09-21 17:03:36 -0700
committerLinus Torvalds <[email protected]>2009-09-22 07:17:41 -0700
commitcdf7b3418ad5a8783efe8f9124023d9b869fec0f (patch)
tree0504a26ba5d7cbbaa71bdd2911d55c6934de8be5 /tools/perf/scripts/python
parent03f6462a3ae78f36eb1f0ee8b4d5ae2f7859c1d5 (diff)
mmap: remove unnecessary code
If (flags & MAP_LOCKED) is true, it means vm_flags has already contained the bit VM_LOCKED which is set by calc_vm_flag_bits(). So there is no need to reset it again, just remove it. Signed-off-by: Huang Shijie <[email protected]> Acked-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions