Thread (7 messages) 7 messages, 3 authors, 2018-06-28
STALE2942d
Revisions (2)
  1. v1 current
  2. v2 [diff vs current]

[PATCH 4/4] crypto: ccree: remove dead legacy code

From: Gilad Ben-Yossef <gilad@benyossef.com>
Date: 2018-06-28 07:33:20
Also in: lkml
Subsystem: ccree arm trustzone cryptocell ree driver, crypto api, the rest · Maintainers: Gilad Ben-Yossef, Herbert Xu, "David S. Miller", Linus Torvalds

Remove legacy code no longer used by anything.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
---
 drivers/crypto/ccree/cc_cipher.c | 6 ------
 1 file changed, 6 deletions(-)
diff --git a/drivers/crypto/ccree/cc_cipher.c b/drivers/crypto/ccree/cc_cipher.c
index 3af44a5..8204c87 100644
--- a/drivers/crypto/ccree/cc_cipher.c
+++ b/drivers/crypto/ccree/cc_cipher.c
@@ -730,12 +730,6 @@ static int cc_cipher_process(struct skcipher_request *req,
 	cc_req.user_cb = (void *)cc_cipher_complete;
 	cc_req.user_arg = (void *)req;
 
-#ifdef ENABLE_CYCLE_COUNT
-	cc_req.op_type = (direction == DRV_CRYPTO_DIRECTION_DECRYPT) ?
-		STAT_OP_TYPE_DECODE : STAT_OP_TYPE_ENCODE;
-
-#endif
-
 	/* Setup request context */
 	req_ctx->gen_ctx.op_type = direction;
 
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help