Skip to contentSkip to conversation

x86/vmlinux.lds: Remove unused .x86_intel_mid_dev.init section

PATCH In review Alexander Kuleshov 2 participants 2 messages Mar 29 – Mar 30 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/vmlinux.lds: Remove unused .x86_intel_mid_dev.init section

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").

---
 arch/x86/kernel/vmlinux.lds.S | 9 ---------
 1 file changed, 9 deletions(-)
arch/x86/kernel/vmlinux.lds.S +0 -9
index 4711a35e706c..1f127e0b8231 100644
@@ -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
Signature · 1 line
2.53.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Alexander Kuleshov

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").

Good catch!

Signature · 2 lines
With Best Regards,
Andy Shevchenko