Skip to content
Commit 1def3758 authored by Christophe Jaillet's avatar Christophe Jaillet Committed by Michael Ellerman
Browse files

powerpc/numa: Use of_get_next_parent to simplify code



of_get_next_parent can be used to simplify the while() loop and
avoid the need of a temp variable.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 5fab1d1c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment