All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilad Ben-Yossef <gilad@benyossef.com>
To: Herbert Xu <herbert@gondor.apana.org.au>,
	"David S. Miller" <davem@davemloft.net>
Cc: Ofir Drang <ofir.drang@arm.com>, Hadar Gat <hadar.gat@arm.com>,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 4/6] crypto: ccree: remove dead legacy code
Date: Sun,  1 Jul 2018 08:02:37 +0100	[thread overview]
Message-ID: <1530428560-4440-5-git-send-email-gilad@benyossef.com> (raw)
In-Reply-To: <1530428560-4440-1-git-send-email-gilad@benyossef.com>

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 958ced3..5d12372 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

  parent reply	other threads:[~2018-07-01  7:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-01  7:02 [PATCH v2 0/6] crypto: fixes and cleanups Gilad Ben-Yossef
2018-07-01  7:02 ` [PATCH v2 1/6] crypto: ccree: fix finup Gilad Ben-Yossef
2018-07-01  7:02 ` [PATCH v2 2/6] crypto: testmgr: add hash finup tests Gilad Ben-Yossef
2018-07-01  7:02 ` [PATCH v2 3/6] crypto: ccree: fix iv handling Gilad Ben-Yossef
2018-07-01  7:02 ` Gilad Ben-Yossef [this message]
2018-07-01  7:02 ` [PATCH v2 5/6] crypto: ccree: use CBC-CS3 CTS mode Gilad Ben-Yossef
2018-07-01  7:02 ` [PATCH v2 6/6] crypto: ccree: rate limit debug print Gilad Ben-Yossef
2018-07-02 12:58   ` Geert Uytterhoeven
2018-07-08 16:46 ` [PATCH v2 0/6] crypto: fixes and cleanups Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1530428560-4440-5-git-send-email-gilad@benyossef.com \
    --to=gilad@benyossef.com \
    --cc=davem@davemloft.net \
    --cc=hadar.gat@arm.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ofir.drang@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.