From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751612AbdGZNfD (ORCPT ); Wed, 26 Jul 2017 09:35:03 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:17104 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751022AbdGZNfA (ORCPT ); Wed, 26 Jul 2017 09:35:00 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="21846600" From: Dou Liyang To: CC: , Dou Liyang , James Hogan , , 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> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1501076076-1974-1-git-send-email-douly.fnst@cn.fujitsu.com> References: <1501076076-1974-1-git-send-email-douly.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: 8C1A5402BB96.A14C7 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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@linux-foundation.org Cc: linux-metag@vger.kernel.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 From mboxrd@z Thu Jan 1 00:00:00 1970 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