From: Tiwei Bie Date: Sun, 10 Aug 2025 05:51:28 +0000 (+0800) Subject: um: Remove unused cpu_data and current_cpu_data macros X-Git-Tag: v6.18-rc1~57^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be6a0372be581b80a4f0083687d45c30289094ca;p=thirdparty%2Fkernel%2Fstable.git um: Remove unused cpu_data and current_cpu_data macros These two macros have no users. Remove them. Signed-off-by: Tiwei Bie Signed-off-by: Johannes Berg --- 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)