From: Dou Liyang <douly.fnst@cn.fujitsu.com>
To: <akpm@linux-foundation.org>, <linux-kernel@vger.kernel.org>
Cc: Dou Liyang <douly.fnst@cn.fujitsu.com>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>,
Michael Holzheu <holzheu@linux.vnet.ibm.com>,
<linux-s390@vger.kernel.org>
Subject: [PATCH v2 3/7] s390/topology: Remove the unused parent_node() macro
Date: Fri, 1 Sep 2017 10:56:35 +0800 [thread overview]
Message-ID: <1504234599-29533-4-git-send-email-douly.fnst@cn.fujitsu.com> (raw)
In-Reply-To: <1504234599-29533-1-git-send-email-douly.fnst@cn.fujitsu.com>
Commit a7be6e5a7f8d ("mm: drop useless local parameters of
__register_one_node()") removes the last user of parent_node().
The parent_node() macro in S390 platform is unnecessary.
Remove it for cleanup.
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Cc: linux-s390@vger.kernel.org
---
arch/s390/include/asm/topology.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/arch/s390/include/asm/topology.h b/arch/s390/include/asm/topology.h
index fa1bfce..5222da1 100644
--- a/arch/s390/include/asm/topology.h
+++ b/arch/s390/include/asm/topology.h
@@ -77,12 +77,6 @@ static inline const struct cpumask *cpumask_of_node(int node)
return &node_to_cpumask_map[node];
}
-/*
- * 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)
#define node_distance(a, b) __node_distance(a, b)
--
2.5.5
next prev parent reply other threads:[~2017-09-01 2:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-01 2:56 [PATCH v2 0/7] Remove the parent_node() for each arch Dou Liyang
2017-09-01 2:56 ` [PATCH v2 1/7] ia64: topology: Remove the unused parent_node() macro Dou Liyang
2017-09-01 2:56 ` [PATCH v2 2/7] MIPS: numa: " Dou Liyang
2017-09-01 8:42 ` Ralf Baechle
2017-09-01 8:54 ` Dou Liyang
2017-09-01 2:56 ` Dou Liyang [this message]
2017-09-01 2:56 ` [PATCH v2 4/7] sh/numa: " Dou Liyang
2017-09-01 2:56 ` [PATCH v2 5/7] sparc64/topology: " Dou Liyang
2017-09-01 2:56 ` [PATCH v2 6/7] tile/topology: " Dou Liyang
2017-09-01 2:56 ` [PATCH v2 7/7] asm-generic: numa: " Dou Liyang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1504234599-29533-4-git-send-email-douly.fnst@cn.fujitsu.com \
--to=douly.fnst@cn.fujitsu.com \
--cc=akpm@linux-foundation.org \
--cc=heiko.carstens@de.ibm.com \
--cc=holzheu@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®