From patchwork Fri Nov 19 04:46:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 12693099 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 61591C433EF for ; Fri, 19 Nov 2021 04:55:04 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 27B6F61AF0 for ; Fri, 19 Nov 2021 04:55:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 27B6F61AF0 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=mail.ustc.edu.cn Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:Subject:Cc:To: From:Date: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=qyc2KwzqCo3rsjr8XO385eMQfXHr7P9ip3VzBEgHSAg=; b=FMxeZOww0t3qyc E5s6al4rWxPKEOBFFokcUsugctcYuS6v5rlU7XXnIfQ7ao/Rygd4OBeonYieZM/JjH245cjvkHusw 4Pg+FP5EMiU/86jsYyIXO0F8dcLqvpv6eyN3jlET8UXbZe6iJ7tkjkcwQH/Jxdxll7YsbWJKKAZtJ BjCqWmlMNVI4TFPWVm1PauhUnJFduaPOJV9GIPpRlco+R/yfB7fvpGwOopl80IzwAt3Lti0cbOK0T J6gZULRdJfmZOlAtBraHL343Yzrpa7UeLF7GLfhTHLwKn/94/z4N4pVZpKXzZTyINzTnSxbkET8rR tLKKUrVvdAB6yMNyzEWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnvtw-009TUz-S0; Fri, 19 Nov 2021 04:53:29 +0000 Received: from email6.ustc.edu.cn ([2001:da8:d800::8] helo=ustc.edu.cn) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mnvtr-009TUE-Q2 for linux-arm-kernel@lists.infradead.org; Fri, 19 Nov 2021 04:53:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ustc.edu.cn; s=dkim; h=Received:Date:From:To:Cc:Subject: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=gqlxegaNjjpmliJ2YUphkr3nRsImY8w2y2NUeQorNDM=; b=fOo+/m3lMdQZF fW7XTylRWcD1NiPBoqvPUM4FdA6mX4F1K/rZGswkTlQ/v2UjbukqLKYXexF7v8wd /DOrR0oGZ6eJOkJm6cIKbnmu7neDvWTBOZ4KrasQsTBKalUVzWaPFBLFTsnARlpT 59dbF1xaw29lNEom6XOO+5/rwtE7fI= Received: from xhacker (unknown [101.86.18.22]) by newmailweb.ustc.edu.cn (Coremail) with SMTP id LkAmygDHzU25LZdh+gliAQ--.1195S2; Fri, 19 Nov 2021 12:53:13 +0800 (CST) Date: Fri, 19 Nov 2021 12:46:08 +0800 From: Jisheng Zhang To: Catalin Marinas , Will Deacon , Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: extable: remove unsed ex_handler_t definition Message-ID: <20211119124608.3f03380b@xhacker> MIME-Version: 1.0 X-CM-TRANSID: LkAmygDHzU25LZdh+g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X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211118_205324_546612_FA17C961 X-CRM114-Status: UNSURE ( 8.04 ) 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: Jisheng Zhang The ex_handler_t type was introduced in commit d6e2cc564775 ("arm64: extable: add `type` and `data` fields"), but has never been used, and is unnecessary. Remove it. Signed-off-by: Jisheng Zhang Acked-by: Mark Rutland --- Since v1: - update commit msg as Mark suggested, thank Mark - add Mark's Acked-by tag arch/arm64/mm/extable.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/mm/extable.c b/arch/arm64/mm/extable.c index c3d53811a15e..c0181e60cc98 100644 --- a/arch/arm64/mm/extable.c +++ b/arch/arm64/mm/extable.c @@ -10,9 +10,6 @@ #include #include -typedef bool (*ex_handler_t)(const struct exception_table_entry *, - struct pt_regs *); - static inline unsigned long get_ex_fixup(const struct exception_table_entry *ex) {