Commit 7baebe54 authored by Dou Liyang's avatar Dou Liyang Committed by Michael Ellerman

powerpc/topology: Remove the unused parent_node() macro

Commit a7be6e5a ("mm: drop useless local parameters of
__register_one_node()") removes the last user of parent_node().

The parent_node() macro in POWERPC platform is unnecessary.

Remove it for cleanup.
Reported-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Signed-off-by: default avatarDou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 4ae279c2
...@@ -16,8 +16,6 @@ struct device_node; ...@@ -16,8 +16,6 @@ struct device_node;
#include <asm/mmzone.h> #include <asm/mmzone.h>
#define parent_node(node) (node)
#define cpumask_of_node(node) ((node) == -1 ? \ #define cpumask_of_node(node) ((node) == -1 ? \
cpu_all_mask : \ cpu_all_mask : \
node_to_cpumask_map[node]) node_to_cpumask_map[node])
......
Markdown is supported
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