From patchwork Tue Aug 20 08:25:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 13769595 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 61196C5320E for ; Tue, 20 Aug 2024 08:30:19 +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:References:In-Reply-To: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:List-Owner; bh=0yXZ+Vfk+mZ3Vx105ytTGSm5SIlwzHQeuSk3doVFC/U=; b=r8/LHLc4YlIO5gyaHAlqavq681 yv0YiHIBHJUeY9GDaKMrj7rEBbF7uruXb1SqOEc0JktWIlgnGHM0tsTZaqrvOt71AN+dfPKfGSRy9 sNhlrrLFHG/24rBKPlYyDsUq1kLRj7HPVMk1BSZ5hj+ArPSDYbHQFXXj9Wi3mMq57ooVXQtNfHCwM XK8Oq/zdZCJbZiF/sdf+whkpIEP9V16efz6POjZI2OeHEVYKnvHpekpmnxbcBrlqRrd/ooGeX6kOn M/SU+TXuJEZFOivrWxXuMMTQ6rk/Skxj3fX/JH6Ap4nMZptuGRFEyBL0mSVpZj6OjYpYg7lv9rPqP Gjuza9pA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgKFj-00000004OVn-0Ge6; Tue, 20 Aug 2024 08:30:07 +0000 Received: from szxga04-in.huawei.com ([45.249.212.190]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgKEN-00000004Nud-1RHo; Tue, 20 Aug 2024 08:28:45 +0000 Received: from mail.maildlp.com (unknown [172.19.162.112]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4Wp2YV5fPBz20m7J; Tue, 20 Aug 2024 16:23:58 +0800 (CST) Received: from dggpemf500002.china.huawei.com (unknown [7.185.36.57]) by mail.maildlp.com (Postfix) with ESMTPS id 40E7C1401F4; Tue, 20 Aug 2024 16:28:39 +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; Tue, 20 Aug 2024 16:28:38 +0800 From: Yue Haibing To: , , , , , , , CC: , , , Subject: [PATCH -next 1/6] crypto: safexcel - Remove unused declaration safexcel_ring_first_rptr() Date: Tue, 20 Aug 2024 16:25:20 +0800 Message-ID: <20240820082525.259337-2-yuehaibing@huawei.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240820082525.259337-1-yuehaibing@huawei.com> References: <20240820082525.259337-1-yuehaibing@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.175.101.6] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) 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-20240820_012843_752621_40FB8268 X-CRM114-Status: UNSURE ( 7.36 ) 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 9744fec95f06 ("crypto: inside-secure - remove request list to improve performance") declar this but never implemented. Signed-off-by: Yue Haibing --- drivers/crypto/inside-secure/safexcel.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/crypto/inside-secure/safexcel.h b/drivers/crypto/inside-secure/safexcel.h index d0059ce954dd..0c79ad78d1c0 100644 --- a/drivers/crypto/inside-secure/safexcel.h +++ b/drivers/crypto/inside-secure/safexcel.h @@ -897,7 +897,6 @@ int safexcel_init_ring_descriptors(struct safexcel_crypto_priv *priv, int safexcel_select_ring(struct safexcel_crypto_priv *priv); void *safexcel_ring_next_rptr(struct safexcel_crypto_priv *priv, struct safexcel_desc_ring *ring); -void *safexcel_ring_first_rptr(struct safexcel_crypto_priv *priv, int ring); void safexcel_ring_rollback_wptr(struct safexcel_crypto_priv *priv, struct safexcel_desc_ring *ring); struct safexcel_command_desc *safexcel_add_cdesc(struct safexcel_crypto_priv *priv,