crypto: ccp - Remove unused struct ccp_crypto_cpu
authorYuan Can <yuancan@huawei.com>
Tue, 27 Sep 2022 13:39:55 +0000 (13:39 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Oct 2022 11:05:24 +0000 (19:05 +0800)
After commit bc3854476f36("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>
drivers/crypto/ccp/ccp-crypto-main.c

index 3321810..dd86d26 100644 (file)
@@ -78,13 +78,6 @@ struct ccp_crypto_cmd {
        int ret;
 };
 
-struct ccp_crypto_cpu {
-       struct work_struct work;
-       struct completion completion;
-       struct ccp_crypto_cmd *crypto_cmd;
-       int err;
-};
-
 static inline bool ccp_crypto_success(int err)
 {
        if (err && (err != -EINPROGRESS) && (err != -EBUSY))