projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00904aa
)
crypto: ccree - remove dead legacy code
author
Gilad Ben-Yossef
<gilad@benyossef.com>
Sun, 1 Jul 2018 07:02:37 +0000
(08:02 +0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sun, 8 Jul 2018 16:33:35 +0000
(
00:33
+0800)
Remove legacy code no longer used by anything.
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_cipher.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/ccree/cc_cipher.c
b/drivers/crypto/ccree/cc_cipher.c
index
b119a73
..
a37934f
100644
(file)
--- 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;