Skip to content

Commit 551a7ed

Browse files
committed
crypto: ccp - Remove unused struct ccp_crypto_cpu
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2130715 Upstream Status: merged into the linux.git commit 375de98 Author: Yuan Can <yuancan@huawei.com> Date: Tue Sep 27 13:39:55 2022 +0000 crypto: ccp - Remove unused struct ccp_crypto_cpu After commit bc38544("crypto: ccp - Use a single queue for proper ordering of tfm requests"), no one use struct ccp_crypto_cpu, so remove it. Signed-off-by: Yuan Can <yuancan@huawei.com> Acked-by: John Allen <john.allen@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Vladis Dronov <vdronov@redhat.com>
1 parent ce49415 commit 551a7ed

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/crypto/ccp/ccp-crypto-main.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,6 @@ struct ccp_crypto_cmd {
7878
int ret;
7979
};
8080

81-
struct ccp_crypto_cpu {
82-
struct work_struct work;
83-
struct completion completion;
84-
struct ccp_crypto_cmd *crypto_cmd;
85-
int err;
86-
};
87-
8881
static inline bool ccp_crypto_success(int err)
8982
{
9083
if (err && (err != -EINPROGRESS) && (err != -EBUSY))

0 commit comments

Comments
 (0)