diff options
author | Kim Phillips <kim.phillips@amd.com> | 2021-08-17 17:10:44 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-08-26 09:14:36 +0200 |
commit | 6cf295b21608f9253037335f47cd0dfcce812d81 (patch) | |
tree | 3049a9519814750d6d11d93adbfdc29990f3953d /tools/perf/scripts/python/sctop.py | |
parent | ffec09f9c7d7b21b0aff29dd5c3972f4631c0b6b (diff) |
perf/amd/uncore: Simplify code, use free_percpu()'s built-in check for NULL
free_percpu() has its own check for NULL, no need to open-code it.
Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210817221048.88063-5-kim.phillips@amd.com
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions