Skip to contentSkip to conversation

ARM: module: Remove unused struct mod_unwind_map

PATCH In review Yuan Can 2 participants 2 messages Sep 28, 2022 – Oct 3, 2022 Arm (32-bit)

lore
Share & tools
lore

Yuan Can

author
#0 lore raw

PATCH 1/1 ARM: module: Remove unused struct mod_unwind_map

After commit b6f21d14f1ac("ARM: 9204/2: module: Add all unwind tables when load module"), struct mod_unwind_map is not used any more and can be removed as well.

---
 arch/arm/kernel/module.c | 5 -----
 1 file changed, 5 deletions(-)
arch/arm/kernel/module.c +0 -5
index d59c36dc0494..b8bada3c4640 100644
@@ -431,11 +431,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 · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Yuan Can

After commit b6f21d14f1ac("ARM: 9204/2: module: Add all unwind tables when load module"), struct mod_unwind_map is not used any more and can be removed as well.

Please put this patch into Russell's patch tracker.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel