From patchwork Thu Nov 18 12:02:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 12693038 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 8F0CEC433FE for ; Thu, 18 Nov 2021 12:11:37 +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 5CC6461350 for ; Thu, 18 Nov 2021 12:11:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5CC6461350 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:To:From :Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hrumqYivF6gdrAfU7pqOFvSWi+EsadwxpYDJQxE4Ovw=; b=HydC5Hjn7LmhBr IDC+3w0BtXUzb0qTYv/IBJSDztthwFD8KGaOb2hPvn7FdjZttpIyUVUIuiTplw1oq1SFrFolTlDJ9 OwGSo6hzPZB+gIikS/1dG1TkucrcSVcPjKg2lgibZ5AUYgW3w5ECsVANt8k3L4x/7/n+bctwdlJGX ly0yEtmtZU7KYMP8cc9AsevCZC4za0i6CgC6ak2zvoPOANrUL1g0aFnAEkoonM5EGzg5nizOFxCTc NfZeDO/694I92oevvk4sgZdnhOaZlvkjPGPAU1mG5RzPfBpRaksAK9k5JjFkGA0OYfuZDqjzcbQqO PmiLJm1JXNW042xGHqyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mngEw-007hfO-6V; Thu, 18 Nov 2021 12:10:06 +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 1mngEq-007hca-52 for linux-arm-kernel@lists.infradead.org; Thu, 18 Nov 2021 12:10:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ustc.edu.cn; s=dkim; h=Received:Date:From:To:Subject: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=RAv3ldc+YtKig7hsLOKSrSUz10bjjpekX4e3Vo2jfPE=; b=p1NOk9Z5H0wGg rfDNp9AniCQdGCvIM3sV+30eAulKsuT8jcFjLtvUTfiQpFn7t6wldIODukwl6exn kWPn1ukCF/gKR/6wOA6EGiQnHKw57cmcozoEtEwoILh7xVbhhSM7c4YXZKpk0ZSC 0Igxyl+jzcy3gD2A8Dc/uUuWy9YVSU= Received: from xhacker (unknown [101.86.18.22]) by newmailweb.ustc.edu.cn (Coremail) with SMTP id LkAmygAHD9+OQpZhfM9cAQ--.27594S2; Thu, 18 Nov 2021 20:09:51 +0800 (CST) Date: Thu, 18 Nov 2021 20:02:49 +0800 From: Jisheng Zhang To: Catalin Marinas , Will Deacon , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: extable: remove unsed ex_handler_t definition Message-ID: <20211118200249.73172ce5@xhacker> MIME-Version: 1.0 X-CM-TRANSID: LkAmygAHD9+OQpZhfM9cAQ--.27594S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/ X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211118_041000_886555_07449E6E X-CRM114-Status: UNSURE ( 7.70 ) 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 type ex_handler_t is defined but not used, remove it. Signed-off-by: Jisheng Zhang Acked-by: Mark Rutland --- 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) {