mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] of:of_numa: remove unused macro
@ 2024-10-08  6:06 Ba Jing
  2024-10-08 14:47 ` Rob Herring (Arm)
  0 siblings, 1 reply; 2+ messages in thread
From: Ba Jing @ 2024-10-08  6:06 UTC (permalink / raw)
  To: robh; +Cc: saravanak, devicetree, linux-kernel, Ba Jing

By reading the code, I found the marco DEFAULT_NODE is never
referenced in the code. Just remove it.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
---
 drivers/of/of_numa.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c
index 2ec20886d176..230d5f628c1b 100644
--- a/drivers/of/of_numa.c
+++ b/drivers/of/of_numa.c
@@ -14,9 +14,6 @@
 
 #include <asm/numa.h>
 
-/* define default numa node to 0 */
-#define DEFAULT_NODE 0
-
 /*
  * Even though we connect cpus to numa domains later in SMP
  * init, we need to know the node ids now for all cpus.
-- 
2.33.0




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] of:of_numa: remove unused macro
  2024-10-08  6:06 [PATCH] of:of_numa: remove unused macro Ba Jing
@ 2024-10-08 14:47 ` Rob Herring (Arm)
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2024-10-08 14:47 UTC (permalink / raw)
  To: Ba Jing; +Cc: devicetree, saravanak, linux-kernel


On Tue, 08 Oct 2024 14:06:45 +0800, Ba Jing wrote:
> By reading the code, I found the marco DEFAULT_NODE is never
> referenced in the code. Just remove it.
> 
> Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
> ---
>  drivers/of/of_numa.c | 3 ---
>  1 file changed, 3 deletions(-)
> 

Applied, thanks!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-08 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-08  6:06 [PATCH] of:of_numa: remove unused macro Ba Jing
2024-10-08 14:47 ` Rob Herring (Arm)

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®