* [PATCH 1/2] crypto: echainiv - Remove unused alg/spawn variable
@ 2017-12-12 19:30 Corentin Labbe
2017-12-12 19:30 ` [PATCH 2/2] crypto: seqiv " Corentin Labbe
2017-12-22 9:10 ` [PATCH 1/2] crypto: echainiv " Herbert Xu
0 siblings, 2 replies; 4+ messages in thread
From: Corentin Labbe @ 2017-12-12 19:30 UTC (permalink / raw)
To: herbert, davem; +Cc: linux-crypto, linux-kernel, Corentin Labbe
This patch remove two unused variable and some dead "code" using it.
Fixes: 66008d4230f6 ("crypto: echainiv - Remove AEAD compatibility code")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
crypto/echainiv.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/crypto/echainiv.c b/crypto/echainiv.c
index e3d889b122e0..45819e6015bf 100644
--- a/crypto/echainiv.c
+++ b/crypto/echainiv.c
@@ -118,8 +118,6 @@ static int echainiv_aead_create(struct crypto_template *tmpl,
struct rtattr **tb)
{
struct aead_instance *inst;
- struct crypto_aead_spawn *spawn;
- struct aead_alg *alg;
int err;
inst = aead_geniv_alloc(tmpl, tb, 0, 0);
@@ -127,9 +125,6 @@ static int echainiv_aead_create(struct crypto_template *tmpl,
if (IS_ERR(inst))
return PTR_ERR(inst);
- spawn = aead_instance_ctx(inst);
- alg = crypto_spawn_aead_alg(spawn);
-
err = -EINVAL;
if (inst->alg.ivsize & (sizeof(u64) - 1) || !inst->alg.ivsize)
goto free_inst;
--
2.13.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] crypto: seqiv - Remove unused alg/spawn variable
2017-12-12 19:30 [PATCH 1/2] crypto: echainiv - Remove unused alg/spawn variable Corentin Labbe
@ 2017-12-12 19:30 ` Corentin Labbe
2017-12-22 9:10 ` Herbert Xu
2017-12-22 9:10 ` [PATCH 1/2] crypto: echainiv " Herbert Xu
1 sibling, 1 reply; 4+ messages in thread
From: Corentin Labbe @ 2017-12-12 19:30 UTC (permalink / raw)
To: herbert, davem; +Cc: linux-crypto, linux-kernel, Corentin Labbe
This patch remove two unused variable and some dead "code" using it.
Fixes: 92932d03c2b3 ("crypto: seqiv - Remove AEAD compatibility code")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
crypto/seqiv.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/crypto/seqiv.c b/crypto/seqiv.c
index 570b7d1aa0ca..39dbf2f7e5f5 100644
--- a/crypto/seqiv.c
+++ b/crypto/seqiv.c
@@ -144,8 +144,6 @@ static int seqiv_aead_decrypt(struct aead_request *req)
static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb)
{
struct aead_instance *inst;
- struct crypto_aead_spawn *spawn;
- struct aead_alg *alg;
int err;
inst = aead_geniv_alloc(tmpl, tb, 0, 0);
@@ -153,9 +151,6 @@ static int seqiv_aead_create(struct crypto_template *tmpl, struct rtattr **tb)
if (IS_ERR(inst))
return PTR_ERR(inst);
- spawn = aead_instance_ctx(inst);
- alg = crypto_spawn_aead_alg(spawn);
-
err = -EINVAL;
if (inst->alg.ivsize != sizeof(u64))
goto free_inst;
--
2.13.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] crypto: echainiv - Remove unused alg/spawn variable
2017-12-12 19:30 [PATCH 1/2] crypto: echainiv - Remove unused alg/spawn variable Corentin Labbe
2017-12-12 19:30 ` [PATCH 2/2] crypto: seqiv " Corentin Labbe
@ 2017-12-22 9:10 ` Herbert Xu
1 sibling, 0 replies; 4+ messages in thread
From: Herbert Xu @ 2017-12-22 9:10 UTC (permalink / raw)
To: Corentin Labbe; +Cc: davem, linux-crypto, linux-kernel
On Tue, Dec 12, 2017 at 07:30:13PM +0000, Corentin Labbe wrote:
> This patch remove two unused variable and some dead "code" using it.
>
> Fixes: 66008d4230f6 ("crypto: echainiv - Remove AEAD compatibility code")
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] crypto: seqiv - Remove unused alg/spawn variable
2017-12-12 19:30 ` [PATCH 2/2] crypto: seqiv " Corentin Labbe
@ 2017-12-22 9:10 ` Herbert Xu
0 siblings, 0 replies; 4+ messages in thread
From: Herbert Xu @ 2017-12-22 9:10 UTC (permalink / raw)
To: Corentin Labbe; +Cc: davem, linux-crypto, linux-kernel
On Tue, Dec 12, 2017 at 07:30:14PM +0000, Corentin Labbe wrote:
> This patch remove two unused variable and some dead "code" using it.
>
> Fixes: 92932d03c2b3 ("crypto: seqiv - Remove AEAD compatibility code")
>
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-12-22 9:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-12 19:30 [PATCH 1/2] crypto: echainiv - Remove unused alg/spawn variable Corentin Labbe
2017-12-12 19:30 ` [PATCH 2/2] crypto: seqiv " Corentin Labbe
2017-12-22 9:10 ` Herbert Xu
2017-12-22 9:10 ` [PATCH 1/2] crypto: echainiv " Herbert Xu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.