summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSrikar Dronamraju <srikar@linux.ibm.com>2026-09-02 18:05:00 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-10-12 11:24:19 +0530
commitff9d9df1deb10c657ff00fc7b94f154fb4552721 (patch)
tree7fe4faebfc4eea36f0c0b46a300953355dc8c0e8 /scripts
parentb3d75e2bc299a759de2fd11649c7ed275b1b2067 (diff)
powerpc/numa: Simplify find_primary_domain_index
Initialize the return value once and use a single exit path in find_primary_domain_index(). This is a small cleanup that keeps the existing behavior unchanged while making the control flow easier to follow. Signed-off-by: Srikar Dronamraju <srikar@linux.ibm.com> Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com> Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260902123458.340456-6-srikar@linux.ibm.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions