diff options
author | Dou Liyang <douly.fnst@cn.fujitsu.com> | 2017-07-26 16:34:30 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-16 14:12:41 +0300 |
commit | 7baebe54a64af44dc34d0bd51462f09fe07a2acb (patch) | |
tree | fb4bcd82f95e05a79b1d98f1babf4ea779856006 /arch/powerpc/include/asm/topology.h | |
parent | 4ae279c2c96ab38a78b954d218790a8f6db714e5 (diff) | |
download | linux-7baebe54a64af44dc34d0bd51462f09fe07a2acb.tar.xz |
powerpc/topology: Remove the unused parent_node() macro
Commit a7be6e5a7f8d ("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: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/topology.h')
-rw-r--r-- | arch/powerpc/include/asm/topology.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h index dc4e15937ccf..2d84bca8d053 100644 --- a/arch/powerpc/include/asm/topology.h +++ b/arch/powerpc/include/asm/topology.h @@ -16,8 +16,6 @@ struct device_node; #include <asm/mmzone.h> -#define parent_node(node) (node) - #define cpumask_of_node(node) ((node) == -1 ? \ cpu_all_mask : \ node_to_cpumask_map[node]) |