Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1459456

[PATCH 3/6] crypto: sun4i-ss: clean unused ss

From LABBE Corentin <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject [PATCH 3/6] crypto: sun4i-ss: clean unused ss
Date 2016-08-10 20:40 +0200
Message-ID <s4GA2-f8-35@gated-at.bofh.it> (permalink)
References <s4GgF-79-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The ss variable is never used, remove it.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
---
 drivers/crypto/sunxi-ss/sun4i-ss-hash.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/crypto/sunxi-ss/sun4i-ss-hash.c b/drivers/crypto/sunxi-ss/sun4i-ss-hash.c
index 2fb0684..7841d73 100644
--- a/drivers/crypto/sunxi-ss/sun4i-ss-hash.c
+++ b/drivers/crypto/sunxi-ss/sun4i-ss-hash.c
@@ -32,12 +32,10 @@ int sun4i_hash_init(struct ahash_request *areq)
 	struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq);
 	struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg);
 	struct sun4i_ss_alg_template *algt;
-	struct sun4i_ss_ctx *ss;
 
 	memset(op, 0, sizeof(struct sun4i_req_ctx));
 
 	algt = container_of(alg, struct sun4i_ss_alg_template, alg.hash);
-	ss = algt->ss;
 	op->ss = algt->ss;
 	op->mode = algt->mode;
 
-- 
2.7.3

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/6] crypto: sun4i-ss: fix a few signed warning LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-10 20:30 +0200
  [PATCH 3/6] crypto: sun4i-ss: clean unused ss LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-10 20:40 +0200
  [PATCH 2/6] crypto: sun4i-ss: unify update/final function LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-10 21:10 +0200
  [PATCH 6/6] crypto: sun4i-ss: fix indentation of two crypto alg LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-10 21:10 +0200
  [PATCH 4/6] crypto: sun4i-ss: fix spelling LABBE Corentin <clabbe.montjoie@gmail.com> - 2016-08-10 21:30 +0200

csiph-web