From patchwork Sun May 5 20:19:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13654642 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 57BC3C4345F for ; Sun, 5 May 2024 20:20:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=8R51x+PZzf7ItU5Cg3VXNsuZpRbDfV4n/+VFqBA3ZuA=; b=pL+1iVywtFCwVx o0UFEyjGFqljveIPNCbvXsse6PaARm+0i4oYmFsn9NPT7r+F1NJ8gIWMDtnAx/QKDANurzFjTU3Nj zOgfAPk7scCCpFtJCyyj2hP7np4zFCIetAgrWK7/titIlzp9k0gminJzqqKFCY3ezlL60Sk41aWJm RsT75SZLxKSTTHYWKMJVaA5/UtFzNsCZGPVNR47HxZmr+lt67lHi7MOzLVickiC0tHTlPkKO3q+b1 NyTEjjB7oMpY/u67J3IN4UnPO0+Vp3DcztXBdnjbwQJJc7Xq95qGlmIBfpKaOgwLDpFeja2tKpczG xkJeZHD6STK3DsKx1Ntg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s3iL5-00000005DtT-2QtL; Sun, 05 May 2024 20:20:03 +0000 Received: from mx.treblig.org ([2a00:1098:5b::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s3iL2-00000005Dqe-3xyC for linux-arm-kernel@lists.infradead.org; Sun, 05 May 2024 20:20:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=kC9z+BtIuwFPzCvxhtTRwUZVhh0RYTN2gDCiuvp4XGY=; b=NTy2C9biC9GYVcWV rRJPQn6ywmXrIvHsk+3d5DRrwR3vnKnDrSSnrP+wrGE9qb2OhLltOtfOQFVePgIw2IiJFGsXycGo3 LGhR0QHLKPKfVGcUI1A6X8+CpBGzBEVa2GvZ3wzi3YKal80FuvcnNOgwDkWz5Zu+swNv52zc5HlJa X2tPEHJxkoFS5el+1XVpL/1Uu/GHSrg/ZxwrGubnXvvYVOyWvzxHpEC40kwVe+WY2LiPeJfe/H25Y N4iEBlnoUroknx0ICmg/Vuru0/LnFn4e5luPgzPv5iWltpi8OuM/Vl0cLfxf5CAOCHAHy8RqUNl2w jfkX6Bm2X4fpIUkNWg==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s3iKx-004oNu-2X; Sun, 05 May 2024 20:19:55 +0000 From: linux@treblig.org To: linux@armlinux.org.uk Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] arm: Remove unused struct 'mod_unwind_map' Date: Sun, 5 May 2024 21:19:51 +0100 Message-ID: <20240505201951.623360-1-linux@treblig.org> X-Mailer: git-send-email 2.45.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240505_132001_100204_BBFC3778 X-CRM114-Status: UNSURE ( 7.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: "Dr. David Alan Gilbert" 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 --- 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) {