[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1504234599-29533-5-git-send-email-douly.fnst@cn.fujitsu.com>
Date: Fri, 1 Sep 2017 10:56:36 +0800
From: Dou Liyang <douly.fnst@...fujitsu.com>
To: <akpm@...ux-foundation.org>, <linux-kernel@...r.kernel.org>
CC: Dou Liyang <douly.fnst@...fujitsu.com>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Rich Felker <dalias@...c.org>, <linux-sh@...r.kernel.org>
Subject: [PATCH v2 4/7] sh/numa: 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 SUPERH platform is unnecessary.
Remove it for cleanup.
Reported-by: Michael Ellerman <mpe@...erman.id.au>
Signed-off-by: Dou Liyang <douly.fnst@...fujitsu.com>
Cc: Yoshinori Sato <ysato@...rs.sourceforge.jp>
Cc: Rich Felker <dalias@...c.org>
Cc: linux-sh@...r.kernel.org
---
arch/sh/include/asm/topology.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/sh/include/asm/topology.h b/arch/sh/include/asm/topology.h
index 358e3f5..6931f50 100644
--- a/arch/sh/include/asm/topology.h
+++ b/arch/sh/include/asm/topology.h
@@ -4,7 +4,6 @@
#ifdef CONFIG_NUMA
#define cpu_to_node(cpu) ((void)(cpu),0)
-#define parent_node(node) ((void)(node),0)
#define cpumask_of_node(node) ((void)node, cpu_online_mask)
--
2.5.5
Powered by blists - more mailing lists