diff mbox series

arm: Remove unused struct 'mod_unwind_map'

Message ID 20240505201951.623360-1-linux@treblig.org (mailing list archive)
State New, archived
Headers show
Series arm: Remove unused struct 'mod_unwind_map' | expand

Commit Message

Dr. David Alan Gilbert May 5, 2024, 8:19 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

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@treblig.org>
---
 arch/arm/kernel/module.c | 5 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

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)
 {