summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ccree
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2018-07-01 08:02:37 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-07-09 00:33:35 +0800
commitd6b609d1b8e99694cfc47180e395f14fde68addb (patch)
treed511a8902305093c537be2efffd749d152a91ffc /drivers/crypto/ccree
parent00904aa0cd59a36d659ec93d272309e2174bcb5b (diff)
downloadop-kernel-dev-d6b609d1b8e99694cfc47180e395f14fde68addb.zip
op-kernel-dev-d6b609d1b8e99694cfc47180e395f14fde68addb.tar.gz
crypto: ccree - remove dead legacy code
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>
Diffstat (limited to 'drivers/crypto/ccree')
-rw-r--r--drivers/crypto/ccree/cc_cipher.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/crypto/ccree/cc_cipher.c b/drivers/crypto/ccree/cc_cipher.c
index b119a73..a37934f7 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;
OpenPOWER on IntegriCloud