From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0866606A6B1 for ; Wed, 2 Dec 2026 10:08:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ajKYC2h/; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=jH3GpN6h; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Q3JYQbdk 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: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-Unsubscribe-Post:List-Owner; bh=gvZ76YUK1S7k52F6Hp14Z6ZR1Zt8LZSTLtpXrCQQy2M=; b=ajKYC2h/DJbdZdcakmjKb96uxW 9tHiQ6Qjqrrgkq3D2Vpnqv2Zd7ggEb6VALC3+m0KjyEri/elV7RwV6lpBARJ4YXblHgqDoGhctZoY fBxnGor5shGnESCaHuOI/qKdso3FX3rZ+39s84qt6K+RMv0WId0l5ncl/NzCiRnHWI8XTehbm8B4u VytcNy+Ampias305nELmRHh3El6GadSrJ+pNzf810mBbnk3COIKjmfp/KaxuMWGWOWNSRSxqdu3qb 9Xy/GD8bYgwcjW1szdffRtAZsH7x2sggrGd3UvgzlyiOzR6k1BX4X0LalvcxvejbfeSSsWYpTGI4p Ys393xfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYhG0-0000000B1ti-1bYv; Wed, 02 Dec 2026 10:08:12 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYhFv-0000000B1ie-4AQY for linux-amlogic@bombadil.infradead.org; Wed, 02 Dec 2026 10:08:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=cyu2YD+0JiTqu9p5NWdi6X2hohcRvSGgQozAHaYtXMQ=; b=jH3GpN6hTxSM6g5CGceeGHSC6b OK4p8umaAA4xkqEG1e76Ecuv9A9bqb0szAXiDulyzEtNxBKGlGqxqGLLO8q5EOoXjbjyZPQqr8wvU 5cAfIqcc3iWU2tz376cm5SrmBNuGjCzWjDPkuDihS2XmPT/vw5T/Vra59rtOewMJQ0AN+Y6o3ntuV Uitw6mIBo6ABvH8xpJQK+xdqiMfs9ed+JdzNhDWu3x5ENqDe6p7TEY4A7COU1TM1Vrb+foSiFBq0r OoG1lBBuI4yIcdHwstZQUi9yrI72tN1WErdp0cYxkGf8k4Ty30pNBkvfuE4ezRlEg/yTR4yzJUcvH SF/CCQZg==; Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by casper.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYhFs-00000006THB-0HbW for linux-amlogic@lists.infradead.org; Wed, 02 Dec 2026 10:08:06 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-48dfc0421d9so11514132f8f.1 for ; Wed, 02 Dec 2026 02:08:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796206082; x=1796810882; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=cyu2YD+0JiTqu9p5NWdi6X2hohcRvSGgQozAHaYtXMQ=; b=Q3JYQbdkhGT3ce52L9mk0jfzRA3zM5/vtcmtlalLTsgPEBZnDSizFkEyO340Skw98N IsDf1ZxcWFyV3WUOK3g4x9fJT82RnZOG8MpNv5Eg80xBLfvjr6QbJyU/rMz++5giVjYH Xy9K2U6OexFD+wkir6NgOTDRajyg9AY2BCZoCC/5dEaadsKsqL5CPIR6q+PvKM2xLUsL 9HxDHK+yCI+Zw9u4rkvto8KWqHQiPxdR7TMXNy2R2BQpCrU1+O78vkj/NybDgIoIRsjA 7CIcr5kLDvE1HEp77D67vRbFfQZ31tnJ4y+cSdLOaW1SOuUafZ67zWUb/7oaIdoPYMrv BoAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796206082; x=1796810882; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=cyu2YD+0JiTqu9p5NWdi6X2hohcRvSGgQozAHaYtXMQ=; b=yWKTpbL1TV9ejjx6xjRUCeRU2nhgGyzH+6siiRRI9R0Y4gWHwajAf8UtqRuxsDyO9Y XuMOSJTQeXCf1XqEP5w7qtrayMUCiAp/SBxMcCDxhDSH6meyf6dJNE9cqI2s/j5YLUTz /KZ+yOpB8dUJRMLwToSaa0YvBushcc/J2CliwPyQbJDfrhoihXnNoNMW7bP3l5DUCKGO 7EeC5xZ3sW5HIMTuQqTbAB8UsYit9o3LGoWitXWYf6GP49rRBsIlYjMUvXLwvpFgHMz4 j0dlI+dAH8nG4fS0AGp6rmsVBfhon+u2grrNmdwvMBWdeMz5rfn3qjpwVSXffYZIpD8g NRJQ== X-Forwarded-Encrypted: i=1; AL+hErFBNtWaz3ZA4VAXYf8lXelKe1EJvmFOXTr4m5RYQB+PkOa+NoDcYN+jPpSC1kaAPcQhnC4zn1hZtBhWR8mU@lists.infradead.org X-Gm-Message-State: APuU4Z+Sbk97LzpKq29uKcqn0krGXpCoqrVqr88iSq1DAB0PZx3vFSEF u1kTqb+72fz/GyXTAaNVGwT1ozko585GJjBNth2RXr38LL1B6JNbldce X-Gm-Gg: AZFdTZcHOWigu5upuIuGQDG9GPh1wAUeUEgUgwnozJPh6ArKOxnV4dag4nCvkG8M4Cr cJvJhkEpQP+SBv/XDCabWiyUzXI0r5X+x+yGx6MuqLXgx0m9wlneHDDcKIW8m6T8EZUTerYg4LM bCM57FkSCKK6WUo41tbFHidLHTc1L0s3AAw6CT+Felv2bd2dG37TsdWRqvqoN5FVdueOuXyWnz5 jtDLMxSsMMTxTlmAPSsCHcFKysrWXMWQ404WRW3C9jOuw3VOEqsGaiw8LwSyI9Gvb9HbdO3Y4ga FLO5Y6isc8UgoRx5Q2zjWdLM832CjQWO66e8fqgKW+kGFgnFCWrPPLtxcTacq8b4WKxqRfx5YFR 2ohStrnFnQh8gzXseVL6sR4NlMb3YMu/bIVg3DMgXECBhvH3XTzMV1pHC9syvLPw0u2i7K/3DHH V3rVdBgtkwMpfbET3oSbydpGWv+22ICFNvecIN2HFsK4WsB66Xt2CxeQ9pQFT+ledi/9/kisNrq x5G+uhd+HQtvJoa4addQM4cgzWeASkZNSb9tvAUurk5J/QLjmuMZJ9UuFLuoUeHbBVvQc0PD81i pU5WGO97XdOSzwU2vv7za9l7bSIDhClFz/zlkpsnF2+1tg== X-Received: by 2002:a05:600c:46cc:b0:4bb:69b3:2b42 with SMTP id 5b1f17b1804b1-4bb888277b3mr847408765e9.16.1796206081287; Wed, 02 Dec 2026 02:08:01 -0800 (PST) Received: from localhost.localdomain ([79.117.198.103]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6a67fe75sm87617495f8f.24.2026.12.02.02.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 02:08:00 -0800 (PST) From: Jose Nieto To: Corentin Labbe , Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jose Nieto Subject: [PATCH v15 20/35] crypto: amlogic: drop unused field and stale includes Date: Wed, 2 Dec 2026 11:06:59 +0100 Message-ID: <20261202100714.115460-21-jnieto.alaber@gmail.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261202100714.115460-1-jnieto.alaber@gmail.com> References: <20261202100714.115460-1-jnieto.alaber@gmail.com> X-Archived-By: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261202_100804_156038_AEC715DF X-CRM114-Status: GOOD ( 11.66 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Remove the unused meson_flow.keylen field, drop unused includes in the cipher and core files, and fix stale kernel-doc field names. Signed-off-by: Jose Nieto --- drivers/crypto/amlogic/amlogic-gxl-cipher.c | 3 --- drivers/crypto/amlogic/amlogic-gxl-core.c | 2 -- drivers/crypto/amlogic/amlogic-gxl.h | 10 +++------- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/crypto/amlogic/amlogic-gxl-cipher.c b/drivers/crypto/amlogic/amlogic-gxl-cipher.c index 72892fdcd55d..c11ccbaf920d 100644 --- a/drivers/crypto/amlogic/amlogic-gxl-cipher.c +++ b/drivers/crypto/amlogic/amlogic-gxl-cipher.c @@ -9,9 +9,6 @@ */ #include -#include -#include -#include #include #include #include diff --git a/drivers/crypto/amlogic/amlogic-gxl-core.c b/drivers/crypto/amlogic/amlogic-gxl-core.c index 38b9645386ae..8ce3f6640753 100644 --- a/drivers/crypto/amlogic/amlogic-gxl-core.c +++ b/drivers/crypto/amlogic/amlogic-gxl-core.c @@ -19,9 +19,7 @@ #include #include #include -#include #include -#include #include "amlogic-gxl.h" diff --git a/drivers/crypto/amlogic/amlogic-gxl.h b/drivers/crypto/amlogic/amlogic-gxl.h index 3f1ce6c05558..9c3df0d162b9 100644 --- a/drivers/crypto/amlogic/amlogic-gxl.h +++ b/drivers/crypto/amlogic/amlogic-gxl.h @@ -69,18 +69,16 @@ struct meson_desc { /* * struct meson_flow - Information used by each flow * @engine: ptr to the crypto_engine for this flow - * @keylen: keylen for this flow operation * @complete: completion for the current task on this flow * @irq: IRQ number for amlogic-crypto * @t_phy: Physical address of task - * @tl: pointer to the current ce_task for this flow + * @tl: pointer to the current descriptor for this flow * @stat_req: number of request done by this flow */ struct meson_flow { struct crypto_engine *engine; struct completion complete; int irq; - unsigned int keylen; dma_addr_t t_phy; struct meson_desc *tl; #ifdef CONFIG_CRYPTO_DEV_AMLOGIC_GXL_DEBUG @@ -90,8 +88,8 @@ struct meson_flow { /* * struct meson_pdata - SoC series dependent data. - * @reg_descs: offset to descriptors register - * @reg_status: offset to status register + * @descs_reg: offset to descriptors register + * @status_reg: offset to status register * @setup_desc_cnt: number of setup descriptor to configure. * @hasher_supported: indecates whether hasher is supported. * @support_192bit_key: indicates whether platform support AES 192-bit key @@ -112,7 +110,6 @@ struct meson_pdata { * @flow: flow to use in next request * @flow_cnt: flow count for amlogic-crypto * @dbgfs_dir: Debugfs dentry for statistic directory - * @dbgfs_stats: Debugfs dentry for statistic counters */ struct meson_dev { void __iomem *base; @@ -181,7 +178,6 @@ struct meson_hasher_req_ctx { /* * struct meson_hasher_tfm_ctx - context for a hasher TFM - * @enginectx: crypto_engine used by this TFM * @mc: pointer to the private data of driver handling this TFM */ struct meson_hasher_tfm_ctx { -- 2.47.3 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic