From: Dr. David Alan Gilbert Date: Mon, 20 May 2024 22:30:05 +0000 (+0100) Subject: ARM: 9400/1: Remove unused struct 'mod_unwind_map' X-Git-Tag: v6.11-rc2~41^2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b69b52cdde74a38c5ab4d89405b2bd384ec0155;p=thirdparty%2Flinux.git ARM: 9400/1: Remove unused struct 'mod_unwind_map' 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 Signed-off-by: Russell King (Oracle) --- diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c index 677f218f7e841..da488d92e7a00 100644 --- a/arch/arm/kernel/module.c +++ b/arch/arm/kernel/module.c @@ -395,11 +395,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) {