diff options
| author | Yang Fan <[email protected]> | 2019-03-05 15:46:16 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2019-03-05 21:07:17 -0800 |
| commit | 43cca0b1c51f7432d82e4fdb545c2a03606da149 (patch) | |
| tree | ff2ca4ecc9141b984bc1c59af97b84543087df74 /tools/perf/scripts/python/futex-contention.py | |
| parent | bbbe48029720d2c6b6733f78d02571a281511adb (diff) | |
mm/mmap.c: remove some redundancy in arch_get_unmapped_area_topdown()
The variable 'addr' is redundant in arch_get_unmapped_area_topdown(),
just use parameter 'addr0' directly. Then remove the const qualifier of
the parameter, and change its name to 'addr'.
And in according with other functions, remove the const qualifier of all
other no-pointer parameters in function arch_get_unmapped_area_topdown().
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Yang Fan <[email protected]>
Reviewed-by: Mike Rapoport <[email protected]>
Cc: William Kucharski <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions