[PATCH] arm: Remove unused struct 'mod_unwind_map'

From: linux
Date: Sun May 05 2024 - 16:20:09 EST


From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>

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

Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>
---
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 e74d84f58b77c..5aa7f2c6a5378 100644
--- a/arch/arm/kernel/module.c
+++ b/arch/arm/kernel/module.c
@@ -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)
{
--
2.45.0