linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Yuan Can <yuancan@huawei.com>
To: <linux@armlinux.org.uk>, <ardb@kernel.org>,
	<linus.walleij@linaro.org>, <chenzhongjin@huawei.com>,
	<nico@fluxnic.net>, <linux-arm-kernel@lists.infradead.org>
Cc: <yuancan@huawei.com>
Subject: [PATCH] ARM: module: Remove unused struct mod_unwind_map
Date: Wed, 28 Sep 2022 08:57:20 +0000	[thread overview]
Message-ID: <20220928085720.74941-1-yuancan@huawei.com> (raw)

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

             reply	other threads:[~2022-09-28  9:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-28  8:57 Yuan Can [this message]
2022-10-03 21:49 ` [PATCH] ARM: module: Remove unused struct mod_unwind_map Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220928085720.74941-1-yuancan@huawei.com \
    --to=yuancan@huawei.com \
    --cc=ardb@kernel.org \
    --cc=chenzhongjin@huawei.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux@armlinux.org.uk \
    --cc=nico@fluxnic.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).