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 A2245C32771 for ; Wed, 28 Sep 2022 09:00:24 +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=SSu6pUKY42ap+tOjIS823XCx0GUzNERCMAeS8xTcEYM=; b=TJaYZmoR9wsANe b2EQWYTEx/Nwjre3rxsXs87yGWg9uQTcZOHLtx9zCcKyAA6XOR9pk8Uw5MiHupgcBz3YAJKKT+NmJ wwhv7Ef8em/veDW0Dh/s3BLqaAravhHHBB7MMIsEwJ+w9F/1aILtQSq+S42VupBloQhUFp76XOE3d JByjgj2zNvKqo/EpP5pLS63+RKm+2VBlUThmy1o5XPjl0keO0SHCI8Jw5Ql7+8seqwbu6pnddz1Kn Jmf3n/XxY4Bw89mMG7GSiv8c1F4WnXoNfC2eMC0QkMEs1gn1aArpqRw7ZA/5LtaRXxQmqvtB8vAJD 16pZIl0vSd9ZAxtML2QA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1odSuS-00F2t2-KR; Wed, 28 Sep 2022 08:59:16 +0000 Received: from szxga01-in.huawei.com ([45.249.212.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1odSuO-00F2nq-Cv for linux-arm-kernel@lists.infradead.org; Wed, 28 Sep 2022 08:59:15 +0000 Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Mcr1w2B0RzpStB; Wed, 28 Sep 2022 16:56:04 +0800 (CST) Received: from huawei.com (10.175.112.208) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 28 Sep 2022 16:59:00 +0800 From: Yuan Can To: , , , , , CC: Subject: [PATCH] ARM: module: Remove unused struct mod_unwind_map Date: Wed, 28 Sep 2022 08:57:20 +0000 Message-ID: <20220928085720.74941-1-yuancan@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.175.112.208] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500024.china.huawei.com (7.185.36.10) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220928_015912_653187_7A03964A X-CRM114-Status: UNSURE ( 8.30 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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