diff options
author | Mateusz Nosek <[email protected]> | 2020-04-01 21:09:53 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-04-02 09:35:31 -0700 |
commit | 97ce86f93cf3f885063d919499903d08aa390942 (patch) | |
tree | b5b8c84ba784be99712ffc219fbbac970b8406b5 /tools/perf/scripts/python/syscall-counts.py | |
parent | 76089d0082e6585e2ec53a51aa9d3c21579fc8e9 (diff) |
mm/page_alloc.c: micro-optimisation Remove unnecessary branch
Previously if branch condition was false, the assignment was not executed.
The assignment can be safely executed even when the condition is false
and it is not incorrect as it assigns the value of 'nodemask' to
'ac.nodemask' which already has the same value.
So as the assignment can be executed unconditionally, the branch can be
removed.
Signed-off-by: Mateusz Nosek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Link: http://lkml.kernel.org/r/[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