[PATCH] x86/vmlinux.lds: Remove unused .x86_intel_mid_dev.init section
From: Alexander Kuleshov
Date: Sun Mar 29 2026 - 12:16:52 EST
The .x86_intel_mid_dev.init section and the symbols associated with it
are unused since the commit 4590d98f5a4f ("sfi: Remove framework for
deprecated firmware").
Signed-off-by: Alexander Kuleshov <kuleshovmail@xxxxxxxxx>
---
arch/x86/kernel/vmlinux.lds.S | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 4711a35e706c..1f127e0b8231 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -237,15 +237,6 @@ SECTIONS
__x86_cpu_dev_end = .;
}
-#ifdef CONFIG_X86_INTEL_MID
- .x86_intel_mid_dev.init : AT(ADDR(.x86_intel_mid_dev.init) - \
- LOAD_OFFSET) {
- __x86_intel_mid_dev_start = .;
- *(.x86_intel_mid_dev.init)
- __x86_intel_mid_dev_end = .;
- }
-#endif
-
#ifdef CONFIG_MITIGATION_RETPOLINE
/*
* List of instructions that call/jmp/jcc to retpoline thunks
--
2.53.0