Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1697097 > unrolled thread

[PATCH 05/11] powerpc/topology: Remove the unused parent_node() macro

Started byDou Liyang <douly.fnst@cn.fujitsu.com>
First post2017-07-26 15:40 +0200
Last post2017-07-27 04:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 05/11] powerpc/topology: Remove the unused parent_node() macro Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-07-26 15:40 +0200
    Re: [PATCH 05/11] powerpc/topology: Remove the unused parent_node() macro Michael Ellerman <mpe@ellerman.id.au> - 2017-07-27 04:30 +0200
      Re: [PATCH 05/11] powerpc/topology: Remove the unused parent_node()  macro Dou Liyang <douly.fnst@cn.fujitsu.com> - 2017-07-27 04:50 +0200

#1697097 — [PATCH 05/11] powerpc/topology: Remove the unused parent_node() macro

FromDou Liyang <douly.fnst@cn.fujitsu.com>
Date2017-07-26 15:40 +0200
Subject[PATCH 05/11] powerpc/topology: Remove the unused parent_node() macro
Message-ID<u7uHE-SQ-29@gated-at.bofh.it>
Commit a7be6e5a7f8d ("mm: drop useless local parameters of
__register_one_node()") removes the last user of parent_node().

The parent_node() macro in POWERPC 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>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
---
 arch/powerpc/include/asm/topology.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h
index dc4e159..2d84bca 100644
--- a/arch/powerpc/include/asm/topology.h
+++ b/arch/powerpc/include/asm/topology.h
@@ -16,8 +16,6 @@ struct device_node;
 
 #include <asm/mmzone.h>
 
-#define parent_node(node)	(node)
-
 #define cpumask_of_node(node) ((node) == -1 ?				\
 			       cpu_all_mask :				\
 			       node_to_cpumask_map[node])
-- 
2.5.5

[toc] | [next] | [standalone]


#1697663

FromMichael Ellerman <mpe@ellerman.id.au>
Date2017-07-27 04:30 +0200
Message-ID<u7GIN-em-5@gated-at.bofh.it>
In reply to#1697097
Dou Liyang <douly.fnst@cn.fujitsu.com> writes:

> Commit a7be6e5a7f8d ("mm: drop useless local parameters of
> __register_one_node()") removes the last user of parent_node().
>
> The parent_node() macro in POWERPC 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>
> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: linuxppc-dev@lists.ozlabs.org
> ---
>  arch/powerpc/include/asm/topology.h | 2 --
>  1 file changed, 2 deletions(-)

Thanks for doing this series.

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers

[toc] | [prev] | [next] | [standalone]


#1697675 — Re: [PATCH 05/11] powerpc/topology: Remove the unused parent_node() macro

FromDou Liyang <douly.fnst@cn.fujitsu.com>
Date2017-07-27 04:50 +0200
SubjectRe: [PATCH 05/11] powerpc/topology: Remove the unused parent_node() macro
Message-ID<u7H2a-kG-5@gated-at.bofh.it>
In reply to#1697663
Hi Michael,

At 07/27/2017 10:21 AM, Michael Ellerman wrote:
> Dou Liyang <douly.fnst@cn.fujitsu.com> writes:
>
>> Commit a7be6e5a7f8d ("mm: drop useless local parameters of
>> __register_one_node()") removes the last user of parent_node().
>>
>> The parent_node() macro in POWERPC 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>
>> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
>> Cc: Paul Mackerras <paulus@samba.org>
>> Cc: Michael Ellerman <mpe@ellerman.id.au>
>> Cc: linuxppc-dev@lists.ozlabs.org
>> ---
>>  arch/powerpc/include/asm/topology.h | 2 --
>>  1 file changed, 2 deletions(-)
>
> Thanks for doing this series.
>

It's my pleasure. :)

Sincerely,

	dou

> Acked-by: Michael Ellerman <mpe@ellerman.id.au>
>
> cheers
>
>
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web