diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2020-03-13 22:20:19 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-03-27 01:15:09 +1100 |
commit | 4b4d181d63518334070a877ba789211bde77da9e (patch) | |
tree | 6a9e66bde3f96f8172420accd4485b480193b9b4 /tools/perf/scripts/python/export-to-sqlite.py | |
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
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions