From patchwork Sat Jul 29 01:27:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: cuigaosheng X-Patchwork-Id: 13332918 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 830AFC001DE for ; Sat, 29 Jul 2023 01:28: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=jW3jpVY6LY3kFAa6JPGgyaBtWVoG2v+Xx9T7Trdod7g=; b=Wq1MI1yeqy1J69 44C5e2kNQFRIlmJvTPHYE3NLdY3uXr3Rwq/3CkVuTwNXrjLv6E3JN1HJy+Vzd4/bBw2nwWnk1/w8S W6VQOUdgTgDyB4qFYNZJpilZ1uLVXVjwKW3Yp8WWDVMRr0jzMWcxXxORUl6SX9Fv9QyHXpxPbLqvf +22MaI/NaP2p30JXkJ9FQ/dGM4xnIR0Nb7gssYay21FanG/NhU4Xf69WdqPxb9XCu9Siy0+RuAxip 7dSJcjq4yuffK0FHdfREnaLYzsYwROXokh6roKFCmw9JiRQt05bi9qDbmfdJxiMvJodEz7yHmEeK+ HAs6KtZFmFzuu2s/RiDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qPYkR-005naf-0o; Sat, 29 Jul 2023 01:27:59 +0000 Received: from szxga02-in.huawei.com ([45.249.212.188]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qPYkN-005na6-2H for linux-arm-kernel@lists.infradead.org; Sat, 29 Jul 2023 01:27:58 +0000 Received: from kwepemi500012.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RCRfT6dVyzVjgC; Sat, 29 Jul 2023 09:26:09 +0800 (CST) Received: from cgs.huawei.com (10.244.148.83) by kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 29 Jul 2023 09:27:47 +0800 From: Gaosheng Cui To: , , , , CC: , Subject: [PATCH v3] ARM: ftrace: remove unused ftrace_graph_caller_old() declaration Date: Sat, 29 Jul 2023 09:27:46 +0800 Message-ID: <20230729012746.2714282-1-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.244.148.83] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemi500012.china.huawei.com (7.221.188.12) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230728_182755_929229_0C572DFE X-CRM114-Status: UNSURE ( 7.31 ) 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 All uses of ftrace_graph_caller_old() were removed by commit d3c61619568c ("ARM: 8788/1: ftrace: remove old mcount support"), so remove the declaration, too. Signed-off-by: Gaosheng Cui Acked-by: Linus Walleij --- v3: - linus.walleij@xxxxxxxxxx -> linus.walleij@linaro.org, thanks! v2: - Nothing change, resend, thanks! v1: - links: https://www.spinics.net/lists/linux-usb/msg231303.html arch/arm/kernel/ftrace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/kernel/ftrace.c b/arch/arm/kernel/ftrace.c index a0b6d1e3812f..0320cfba5b74 100644 --- a/arch/arm/kernel/ftrace.c +++ b/arch/arm/kernel/ftrace.c @@ -261,7 +261,6 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr, #ifdef CONFIG_DYNAMIC_FTRACE extern unsigned long ftrace_graph_call; extern unsigned long ftrace_graph_call_old; -extern void ftrace_graph_caller_old(void); extern unsigned long ftrace_graph_regs_call; extern void ftrace_graph_regs_caller(void);