Skip to contentSkip to conversation

crypto: ccp - Remove unused struct ccp_crypto_cpu

PATCH In review Yuan Can 3 participants 3 messages Sep 27, 2022 – Oct 21, 2022

Subsystems (2)
lore
Share & tools
lore

Yuan Can

author
#0 lore raw

PATCH 1/1 crypto: ccp - Remove unused struct ccp_crypto_cpu

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.

---
 drivers/crypto/ccp/ccp-crypto-main.c | 7 -------
 1 file changed, 7 deletions(-)
drivers/crypto/ccp/ccp-crypto-main.c +0 -7
index 5976530c00a8..c8f3345c66e2 100644
@@ -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))
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Yuan Can

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.

Quoted 22 lines
---
  drivers/crypto/ccp/ccp-crypto-main.c | 7 -------
  1 file changed, 7 deletions(-)
drivers/crypto/ccp/ccp-crypto-main.c +0 -7
index 5976530c00a8..c8f3345c66e2 100644
@@ -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))
maintainer
#2 lore raw
In reply to Yuan Can
Quoted 7 lines · Yuan Can

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.

---
 drivers/crypto/ccp/ccp-crypto-main.c | 7 -------
 1 file changed, 7 deletions(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt