diff options
author | Corentin LABBE <clabbe.montjoie@gmail.com> | 2016-08-10 11:45:33 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-16 11:17:00 +0200 |
commit | 9b17e5ad7831cde78314f96445cfb4a9945c6c68 (patch) | |
tree | 6fc6f864150f8bf3602f0d141e9ba820c680edfe /drivers/crypto/sunxi-ss/sun4i-ss.h | |
parent | crypto: sun4i-ss - fix spelling (diff) | |
download | linux-9b17e5ad7831cde78314f96445cfb4a9945c6c68.tar.xz linux-9b17e5ad7831cde78314f96445cfb4a9945c6c68.zip |
crypto: sun4i-ss - Always use sun4i_tfm_ctx for storing pointer to dev ss
The dev *ss is stored both in sun4i_tfm_ctx and sun4i_req_ctx.
Since this pointer will never be changed during tfm life, it is better
to remove it from sun4i_req_ctx.
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/sun4i-ss.h')
-rw-r--r-- | drivers/crypto/sunxi-ss/sun4i-ss.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/sunxi-ss/sun4i-ss.h b/drivers/crypto/sunxi-ss/sun4i-ss.h index ece5a1ca67de..f04c0f8cf026 100644 --- a/drivers/crypto/sunxi-ss/sun4i-ss.h +++ b/drivers/crypto/sunxi-ss/sun4i-ss.h @@ -163,7 +163,6 @@ struct sun4i_req_ctx { u32 hash[5]; /* for storing SS_IVx register */ char buf[64]; unsigned int len; - struct sun4i_ss_ctx *ss; int flags; }; |