diff options
author | Gavin Shan <gshan@redhat.com> | 2022-09-23 09:54:47 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-09-26 12:46:37 +0300 |
commit | 096560dd13251e351176aef54b7aee91c99920a3 (patch) | |
tree | 13470d14b8a82b457ea86b7c5be375d71b9960a1 /tools/perf/scripts/python/task-analyzer.py | |
parent | b90cb1053190353cc30f0fef0ef1f378ccc063c5 (diff) | |
download | linux-096560dd13251e351176aef54b7aee91c99920a3.tar.xz |
KVM: arm64: vgic: Remove duplicate check in update_affinity_collection()
The 'coll' parameter to update_affinity_collection() is never NULL,
so comparing it with 'ite->collection' is enough to cover both
the NULL case and the "another collection" case.
Remove the duplicate check in update_affinity_collection().
Signed-off-by: Gavin Shan <gshan@redhat.com>
[maz: repainted commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220923065447.323445-1-gshan@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions