From: Dou Liyang Date: Wed, 26 Jul 2017 13:34:30 +0000 (+0800) Subject: powerpc/topology: Remove the unused parent_node() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7baebe54a64af44dc34d0bd51462f09fe07a2acb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Dou Liyang Signed-off-by: Michael Ellerman --- 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 -#define parent_node(node) (node) - #define cpumask_of_node(node) ((node) == -1 ? \ cpu_all_mask : \ node_to_cpumask_map[node])