summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/sunxi-ss
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe.montjoie@gmail.com>2016-08-10 11:45:31 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-16 11:16:57 +0200
commitd98a949bb852c7bc87ffc87c883a8c02e0ee0d5b (patch)
tree756d9199fd2acb6f51d50dc898aa70bd0f291a91 /drivers/crypto/sunxi-ss
parentcrypto: sun4i-ss - unify update/final function (diff)
downloadlinux-d98a949bb852c7bc87ffc87c883a8c02e0ee0d5b.tar.xz
linux-d98a949bb852c7bc87ffc87c883a8c02e0ee0d5b.zip
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>
Diffstat (limited to 'drivers/crypto/sunxi-ss')
-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)
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;