]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
um: Remove unused cpu_data and current_cpu_data macros
authorTiwei Bie <tiwei.btw@antgroup.com>
Sun, 10 Aug 2025 05:51:28 +0000 (13:51 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 10 Sep 2025 12:23:55 +0000 (14:23 +0200)
These two macros have no users. Remove them.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/include/asm/processor-generic.h

index 8a789c17acd833e9ba22a714bbf39ec7dedabafd..236fdfd7cdbe13a2869c28d97490ada514180f91 100644 (file)
@@ -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)