arm64: numa: Remove the unused parent_node() macro
authorDou Liyang <douly.fnst@cn.fujitsu.com>
Wed, 26 Jul 2017 13:34:26 +0000 (21:34 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 15 Aug 2017 13:37:45 +0000 (14:37 +0100)
Commit a7be6e5a7f8d ("mm: drop useless local parameters of
__register_one_node()") removes the last user of parent_node().

The parent_node() macro in ARM64 platform is unnecessary.

Remove it for cleanup.

Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/numa.h

index bf466d1876e3f27d6cd2b6e7edced71c0ae32f7b..ef7b23863a7cb8b817d72a30575fbd7ac0e9bd4a 100644 (file)
@@ -7,9 +7,6 @@
 
 #define NR_NODE_MEMBLKS                (MAX_NUMNODES * 2)
 
-/* currently, arm64 implements flat NUMA topology */
-#define parent_node(node)      (node)
-
 int __node_distance(int from, int to);
 #define node_distance(a, b) __node_distance(a, b)