projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
477d9b2
)
crypto: sun4i-ss - clean unused ss
author
Corentin LABBE
<
[email protected]
>
Wed, 10 Aug 2016 09:45:31 +0000
(11:45 +0200)
committer
Herbert Xu
<
[email protected]
>
Tue, 16 Aug 2016 09:16:57 +0000
(17:16 +0800)
The ss variable is never used, remove it.
Signed-off-by: LABBE Corentin <
[email protected]
>
Signed-off-by: Herbert Xu <
[email protected]
>
drivers/crypto/sunxi-ss/sun4i-ss-hash.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/sunxi-ss/sun4i-ss-hash.c
b/drivers/crypto/sunxi-ss/sun4i-ss-hash.c
index 2fb0684233413f1ef687456998abac32b621e75f..7841d73c54c515d71b2d42e0fbdb71164b7d341d 100644
(file)
--- 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;