commit | 4b4d181d63518334070a877ba789211bde77da9e | [log] [tgz] |
---|---|---|
author | Michael Ellerman <mpe@ellerman.id.au> | Fri Mar 13 22:20:19 2020 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Mar 27 01:15:09 2020 +1100 |
tree | 6a9e66bde3f96f8172420accd4485b480193b9b4 | |
parent | 65de8bb2b7d0d4f5ac3a54aa1f16d36320a4b6ab [diff] |
powerpc/smp: Drop superfluous NULL check 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@ellerman.id.au> Reviewed-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200313112020.28235-1-mpe@ellerman.id.au