Message ID | 20220927133955.104353-1-yuancan@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
Series | crypto: ccp - Remove unused struct ccp_crypto_cpu | expand |
On 9/27/22 8:39 AM, Yuan Can wrote: > 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> > --- > drivers/crypto/ccp/ccp-crypto-main.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/drivers/crypto/ccp/ccp-crypto-main.c b/drivers/crypto/ccp/ccp-crypto-main.c > index 5976530c00a8..c8f3345c66e2 100644 > --- a/drivers/crypto/ccp/ccp-crypto-main.c > +++ b/drivers/crypto/ccp/ccp-crypto-main.c > @@ -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))
On Tue, Sep 27, 2022 at 01:39:55PM +0000, Yuan Can wrote: > 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> > --- > drivers/crypto/ccp/ccp-crypto-main.c | 7 ------- > 1 file changed, 7 deletions(-) Patch applied. Thanks.
diff --git a/drivers/crypto/ccp/ccp-crypto-main.c b/drivers/crypto/ccp/ccp-crypto-main.c index 5976530c00a8..c8f3345c66e2 100644 --- a/drivers/crypto/ccp/ccp-crypto-main.c +++ b/drivers/crypto/ccp/ccp-crypto-main.c @@ -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))
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> --- drivers/crypto/ccp/ccp-crypto-main.c | 7 ------- 1 file changed, 7 deletions(-)