Commit 375de984 authored by Yuan Can's avatar Yuan Can Committed by Herbert Xu
Browse files

crypto: ccp - Remove unused struct ccp_crypto_cpu



After commit bc385447("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: default avatarYuan Can <yuancan@huawei.com>
Acked-by: default avatarJohn Allen <john.allen@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 839b8ae2
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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))