[PATCH] of:of_numa: remove unused macro

Ba Jing posted 1 patch 1 month, 2 weeks ago
drivers/of/of_numa.c | 3 ---
1 file changed, 3 deletions(-)
[PATCH] of:of_numa: remove unused macro
Posted by Ba Jing 1 month, 2 weeks ago
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
Re: [PATCH] of:of_numa: remove unused macro
Posted by Rob Herring (Arm) 1 month, 2 weeks ago
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!