From: Dou Liyang Subject: [PATCH 03/11] metag/numa: Remove the unused parent_node() macro Date: Wed, 26 Jul 2017 21:34:28 +0800 Message-ID: <1501076076-1974-4-git-send-email-douly.fnst@cn.fujitsu.com> References: <1501076076-1974-1-git-send-email-douly.fnst@cn.fujitsu.com> Mime-Version: 1.0 Return-path: In-Reply-To: <1501076076-1974-1-git-send-email-douly.fnst-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org> Sender: linux-metag-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: mpe-Gsx/Oe8HsFggBc27wqDAHg@public.gmane.org, Dou Liyang , James Hogan , akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org, linux-metag-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Commit a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()") removes the last user of parent_node(). The parent_node() macro in METAG architecture is unnecessary. Remove it for cleanup. Reported-by: Michael Ellerman Signed-off-by: Dou Liyang Cc: James Hogan Cc: akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org Cc: linux-metag-u79uwXL29TY76Z2rM5mHXA@public.gmane.org --- arch/metag/include/asm/topology.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/metag/include/asm/topology.h b/arch/metag/include/asm/topology.h index e95f874..707c7f7 100644 --- a/arch/metag/include/asm/topology.h +++ b/arch/metag/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