[PATCH 1/2] powerpc/smp: Drop superfluous NULL check

Michael Ellerman patch-notifications at ellerman.id.au
Wed Apr 1 23:53:24 AEDT 2020


On Fri, 2020-03-13 at 11:20:19 UTC, Michael Ellerman wrote:
> We don't need the NULL check of np, the result is the same because the
> OF helpers cope with NULL, of_node_to_nid(NULL) == NUMA_NO_NODE (-1).
> 
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Series applied to powerpc next.

https://git.kernel.org/powerpc/c/4b4d181d63518334070a877ba789211bde77da9e

cheers


More information about the Linuxppc-dev mailing list