linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: module: Remove unused struct mod_unwind_map
@ 2022-09-28  8:57 Yuan Can
  2022-10-03 21:49 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Yuan Can @ 2022-09-28  8:57 UTC (permalink / raw)
  To: linux, ardb, linus.walleij, chenzhongjin, nico, linux-arm-kernel; +Cc: yuancan

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@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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: module: Remove unused struct mod_unwind_map
  2022-09-28  8:57 [PATCH] ARM: module: Remove unused struct mod_unwind_map Yuan Can
@ 2022-10-03 21:49 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2022-10-03 21:49 UTC (permalink / raw)
  To: Yuan Can; +Cc: linux, ardb, chenzhongjin, nico, linux-arm-kernel

On Wed, Sep 28, 2022 at 10:59 AM Yuan Can <yuancan@huawei.com> wrote:

> 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@huawei.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Please put this patch into Russell's patch tracker.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-03 21:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28  8:57 [PATCH] ARM: module: Remove unused struct mod_unwind_map Yuan Can
2022-10-03 21:49 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).