Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751528AbdGZNe5 (ORCPT ); Wed, 26 Jul 2017 09:34:57 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:13625 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751022AbdGZNez (ORCPT ); Wed, 26 Jul 2017 09:34:55 -0400 X-IronPort-AV: E=Sophos;i="5.22,518,1449504000"; d="scan'208";a="21846593" From: Dou Liyang To: CC: , Dou Liyang Subject: [PATCH 00/11] Remove the parent_node() for each arch Date: Wed, 26 Jul 2017 21:34:25 +0800 Message-ID: <1501076076-1974-1-git-send-email-douly.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.5.5 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: 201BE402BB76.AE7CA 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 Content-Length: 1610 Lines: 37 Michael reports the parent_node() will never be invoked since the Commit a7be6e5a7f8d ("mm: drop useless local parameters of __register_one_node()") removes the last user of it. So we start removing it from the topology.h headers for each arch. Dou Liyang (11): arm64: numa: Remove the unused parent_node() macro ia64: topology: Remove the unused parent_node() macro metag/numa: Remove the unused parent_node() macro MIPS: numa: Remove the unused parent_node() macro powerpc/numa: Remove the unused parent_node() macro s390/topology: Remove the unused parent_node() macro sh/numa: Remove the unused parent_node() macro sparc64/topology: Remove the unused parent_node() macro tile/topology: Remove the unused parent_node() macro x86/topology: Remove the unused parent_node() macro asm-generic: numa: Remove the unused parent_node() macro arch/arm64/include/asm/numa.h | 3 --- arch/ia64/include/asm/topology.h | 7 ------- arch/metag/include/asm/topology.h | 1 - arch/mips/include/asm/mach-ip27/topology.h | 1 - arch/mips/include/asm/mach-loongson64/topology.h | 1 - arch/powerpc/include/asm/topology.h | 2 -- arch/s390/include/asm/topology.h | 6 ------ arch/sh/include/asm/topology.h | 1 - arch/sparc/include/asm/topology_64.h | 2 -- arch/tile/include/asm/topology.h | 6 ------ arch/x86/include/asm/topology.h | 6 ------ include/asm-generic/topology.h | 3 --- 12 files changed, 39 deletions(-) -- 2.5.5