Skip to content
Commit 52110313 authored by Sudeep Holla's avatar Sudeep Holla
Browse files

cacheinfo: Align checks in cache_shared_cpu_map_{setup,remove} for readability

The checks to skip the CPU itself or no cacheinfo case are implemented
bit differently though the effect is exactly same. Just align the
implementation in both cache_shared_cpu_map_{setup,remove} just for
improved readability. No functional change.

Link: https://lore.kernel.org/r/20220704101605.1318280-9-sudeep.holla@arm.com


Tested-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent f16d1bec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment