Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751797AbdG0JD3 (ORCPT ); Thu, 27 Jul 2017 05:03:29 -0400 Received: from terminus.zytor.com ([65.50.211.136]:56797 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751446AbdG0JD1 (ORCPT ); Thu, 27 Jul 2017 05:03:27 -0400 Date: Thu, 27 Jul 2017 01:58:29 -0700 From: tip-bot for Dou Liyang Message-ID: Cc: mingo@kernel.org, douly.fnst@cn.fujitsu.com, tglx@linutronix.de, mpe@ellerman.id.au, torvalds@linux-foundation.org, hpa@zytor.com, peterz@infradead.org, linux-kernel@vger.kernel.org Reply-To: hpa@zytor.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, peterz@infradead.org, douly.fnst@cn.fujitsu.com, mingo@kernel.org, mpe@ellerman.id.au, tglx@linutronix.de In-Reply-To: <1501076076-1974-11-git-send-email-douly.fnst@cn.fujitsu.com> References: <1501076076-1974-11-git-send-email-douly.fnst@cn.fujitsu.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:sched/core] x86/topology: Remove the unused parent_node() macro Git-Commit-ID: dbe04493eddfaa89756ec9af8dde56206290182a X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1557 Lines: 43 Commit-ID: dbe04493eddfaa89756ec9af8dde56206290182a Gitweb: http://git.kernel.org/tip/dbe04493eddfaa89756ec9af8dde56206290182a Author: Dou Liyang AuthorDate: Wed, 26 Jul 2017 21:34:35 +0800 Committer: Ingo Molnar CommitDate: Thu, 27 Jul 2017 10:53:00 +0200 x86/topology: Remove the unused parent_node() macro Commit: a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()") ... removed the last user of parent_node(), so remove the macro. Reported-by: Michael Ellerman Signed-off-by: Dou Liyang Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1501076076-1974-11-git-send-email-douly.fnst@cn.fujitsu.com Signed-off-by: Ingo Molnar --- arch/x86/include/asm/topology.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 6358a85..c1d2a98 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h @@ -75,12 +75,6 @@ static inline const struct cpumask *cpumask_of_node(int node) extern void setup_node_to_cpumask_map(void); -/* - * Returns the number of the node containing Node 'node'. This - * architecture is flat, so it is a pretty simple function! - */ -#define parent_node(node) (node) - #define pcibus_to_node(bus) __pcibus_to_node(bus) extern int __node_distance(int, int);