aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2016-08-10 05:45:31 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-16 05:16:57 -0400
commitd98a949bb852c7bc87ffc87c883a8c02e0ee0d5b (patch)
tree756d9199fd2acb6f51d50dc898aa70bd0f291a91
parent477d9b2e591b8da6901b7c64cc2f08ce7499cfb6 (diff)
crypto: sun4i-ss - clean unused ss
The ss variable is never used, remove it. Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/sunxi-ss/sun4i-ss-hash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/sunxi-ss/sun4i-ss-hash.c b/drivers/crypto/sunxi-ss/sun4i-ss-hash.c
index 2fb068423341..7841d73c54c5 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)
32 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq); 32 struct crypto_ahash *tfm = crypto_ahash_reqtfm(areq);
33 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg); 33 struct ahash_alg *alg = __crypto_ahash_alg(tfm->base.__crt_alg);
34 struct sun4i_ss_alg_template *algt; 34 struct sun4i_ss_alg_template *algt;
35 struct sun4i_ss_ctx *ss;
36 35
37 memset(op, 0, sizeof(struct sun4i_req_ctx)); 36 memset(op, 0, sizeof(struct sun4i_req_ctx));
38 37
39 algt = container_of(alg, struct sun4i_ss_alg_template, alg.hash); 38 algt = container_of(alg, struct sun4i_ss_alg_template, alg.hash);
40 ss = algt->ss;
41 op->ss = algt->ss; 39 op->ss = algt->ss;
42 op->mode = algt->mode; 40 op->mode = algt->mode;
43 41