* [PATCH] crypto: ccp - Remove unused struct ccp_crypto_cpu
@ 2022-09-27 13:39 Yuan Can
2022-09-27 15:47 ` John Allen
2022-10-21 11:34 ` Herbert Xu
0 siblings, 2 replies; 3+ messages in thread
From: Yuan Can @ 2022-09-27 13:39 UTC (permalink / raw)
To: thomas.lendacky, john.allen, herbert, davem, linux-crypto; +Cc: yuancan
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(-)
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))
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] crypto: ccp - Remove unused struct ccp_crypto_cpu
2022-09-27 13:39 [PATCH] crypto: ccp - Remove unused struct ccp_crypto_cpu Yuan Can
@ 2022-09-27 15:47 ` John Allen
2022-10-21 11:34 ` Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: John Allen @ 2022-09-27 15:47 UTC (permalink / raw)
To: Yuan Can, thomas.lendacky, herbert, davem, linux-crypto
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))
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] crypto: ccp - Remove unused struct ccp_crypto_cpu
2022-09-27 13:39 [PATCH] crypto: ccp - Remove unused struct ccp_crypto_cpu Yuan Can
2022-09-27 15:47 ` John Allen
@ 2022-10-21 11:34 ` Herbert Xu
1 sibling, 0 replies; 3+ messages in thread
From: Herbert Xu @ 2022-10-21 11:34 UTC (permalink / raw)
To: Yuan Can; +Cc: thomas.lendacky, john.allen, davem, linux-crypto
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.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-10-21 11:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 13:39 [PATCH] crypto: ccp - Remove unused struct ccp_crypto_cpu Yuan Can
2022-09-27 15:47 ` John Allen
2022-10-21 11:34 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).