From patchwork Thu Aug 22 13:42:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 13773502 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 F0BF6C3DA4A for ; Thu, 22 Aug 2024 13:46:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding: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=V7aD2mrVrf2bOu6Q1hQvVzdL6m1PIkwmD4htiFk/rDo=; b=vqYx6r8LK0yQUoDnG0kqgjsz/6 hX7ePtyqnUpW5ugvPYYjFtSKIn2n/ZHY5655wTq8rjdA0j8l8fASxjgnm37edTxbzHMoZNg38UEYC afI/v58d7X7drCeB5KYBWjQ33tIJXc77mmjr6S9KaSwXhKugOzP71992N2Bhb6BchUwStQpfLM0+1 k1KYHu/vtJx3l+Q/znRaUDGRsoxCzLlwmGDNOFGXC2uVkSvhB33YxA+1fWyRSVpM6z+UCbqFexRJE GF4E+kAyk+FB8zwlZiX5/YIohxZnq4Cn88vDNPGnRLRQzabE4d8a+0lNhiYgRI2EZ24eDcwgKfjfj nnsZ12cA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh88g-0000000D0Ri-1xLO; Thu, 22 Aug 2024 13:46:10 +0000 Received: from szxga03-in.huawei.com ([45.249.212.189]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sh87v-0000000D0Jd-05Fe for linux-arm-kernel@lists.infradead.org; Thu, 22 Aug 2024 13:45:25 +0000 Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4WqPTn2Z5tz69Mn; Thu, 22 Aug 2024 21:40:29 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id AAE141800D4; Thu, 22 Aug 2024 21:45:12 +0800 (CST) Received: from huawei.com (10.175.101.6) by dggpemf500002.china.huawei.com (7.185.36.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 22 Aug 2024 21:45:12 +0800 From: Yue Haibing To: , , , CC: , , , Subject: [PATCH -next] coresight: Remove unused declaration get_etm_config() Date: Thu, 22 Aug 2024 21:42:25 +0800 Message-ID: <20240822134225.3738847-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemf500002.china.huawei.com (7.185.36.57) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240822_064523_397054_3B3B3B6F 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 Commit 1925a470ce69 ("coresight: etm3x: splitting struct etm_drvdata") declar this but never implemented. Signed-off-by: Yue Haibing --- drivers/hwtracing/coresight/coresight-etm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwtracing/coresight/coresight-etm.h b/drivers/hwtracing/coresight/coresight-etm.h index e02c3ea972c9..e1deddb6873e 100644 --- a/drivers/hwtracing/coresight/coresight-etm.h +++ b/drivers/hwtracing/coresight/coresight-etm.h @@ -283,7 +283,6 @@ static inline unsigned int etm_readl(struct etm_drvdata *drvdata, u32 off) extern const struct attribute_group *coresight_etm_groups[]; void etm_set_default(struct etm_config *config); void etm_config_trace_mode(struct etm_config *config); -struct etm_config *get_etm_config(struct etm_drvdata *drvdata); int etm_read_alloc_trace_id(struct etm_drvdata *drvdata); void etm_release_trace_id(struct etm_drvdata *drvdata); #endif