[PATCH] ARM: module: Remove unused struct mod_unwind_map
Yuan Can
yuancan at huawei.com
Wed Sep 28 01:57:20 PDT 2022
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.
Signed-off-by: Yuan Can <yuancan at huawei.com>
---
arch/arm/kernel/module.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c
index d59c36dc0494..b8bada3c4640 100644
--- a/arch/arm/kernel/module.c
+++ b/arch/arm/kernel/module.c
@@ -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)
{
--
2.17.1
More information about the linux-arm-kernel
mailing list