Skip to contentSkip to conversation

arm: Remove unused struct 'mod_unwind_map'

PATCH New [email protected] 1 participant 1 message May 5, 2024 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: Remove unused struct 'mod_unwind_map'

From: "Dr. David Alan Gilbert" <[email protected]>

I think this has been unused since
Commit b6f21d14f1ac ("ARM: 9204/2: module: Add all unwind tables when load module")

---
 arch/arm/kernel/module.c | 5 -----
 1 file changed, 5 deletions(-)
arch/arm/kernel/module.c +0 -5
index e74d84f58b77c..5aa7f2c6a5378 100644
@@ -429,11 +429,6 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
 	return 0;
 }
 
-struct mod_unwind_map {
-	const Elf_Shdr *unw_sec;
-	const Elf_Shdr *txt_sec;
-};
-
 static const Elf_Shdr *find_mod_section(const Elf32_Ehdr *hdr,
 	const Elf_Shdr *sechdrs, const char *name)
 {
Signature · 1 line
2.45.0