[PATCH v2 02/10] um: Remove unused cpu_data and current_cpu_data macros

From: Tiwei Bie
Date: Sun Aug 10 2025 - 01:52:34 EST


From: Tiwei Bie <tiwei.btw@xxxxxxxxxxxx>

These two macros have no users. Remove them.

Signed-off-by: Tiwei Bie <tiwei.btw@xxxxxxxxxxxx>
---
arch/um/include/asm/processor-generic.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/um/include/asm/processor-generic.h b/arch/um/include/asm/processor-generic.h
index 8a789c17acd8..236fdfd7cdbe 100644
--- a/arch/um/include/asm/processor-generic.h
+++ b/arch/um/include/asm/processor-generic.h
@@ -81,8 +81,6 @@ struct cpuinfo_um {

extern struct cpuinfo_um boot_cpu_data;

-#define cpu_data(cpu) boot_cpu_data
-#define current_cpu_data boot_cpu_data
#define cache_line_size() (boot_cpu_data.cache_alignment)

#define KSTK_REG(tsk, reg) get_thread_reg(reg, &tsk->thread.switch_buf)
--
2.34.1