aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2023-01-17 14:02:23 +0800
committerHeiko Carstens <[email protected]>2023-01-22 18:42:34 +0100
commitb4af09140a04ab5a4a20b3e14738ee56ddd37eff (patch)
tree9dbab671568308d68dcb56d2ffa5efb849625539 /tools/perf/scripts/python/bin/stackcollapse-record
parentca34cda73fd4c8fd93c488addc2eeb20af9e923f (diff)
s390/vmem: use swap() instead of open coding it
Swap is a function interface that provides exchange function. To avoid code duplication, we can use swap function. ./arch/s390/mm/vmem.c:680:10-11: WARNING opportunity for swap(). [[email protected]: get rid of all temp variables] Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3786 Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions