]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
crypto: ccree - remove dead legacy code
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 1 Jul 2018 07:02:37 +0000 (08:02 +0100)
committerHerbert 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

index b119a73c491da7a862fa86e973f22608f52f69da..a37934f72d12eed53a5fb80a8f5d0c91bb941e41 100644 (file)
@@ -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;