summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-08-22 22:09:15 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-22 22:12:45 +1000
commite31b791fae32d01e8d0ee2e731b74d5471293cba (patch)
treefcbe5620e894a21c14c10c67c118f8e44d1144f4
parentc963050259f2daccb7141ee58bc0fc0b760836ba (diff)
crypto: talitos - Fix build warning in aead_des3_setkey
This patch removes the variable flags which is now unused thanks to the new DES helpers. Fixes: 9d574ae8ebc1 ("crypto: talitos/des - switch to new...") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/talitos.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c
index 117c831b5ede..cb6c10b1bf36 100644
--- a/drivers/crypto/talitos.c
+++ b/drivers/crypto/talitos.c
@@ -925,7 +925,6 @@ static int aead_des3_setkey(struct crypto_aead *authenc,
struct talitos_ctx *ctx = crypto_aead_ctx(authenc);
struct device *dev = ctx->dev;
struct crypto_authenc_keys keys;
- u32 flags;
int err;
err = crypto_authenc_extractkeys(&keys, key, keylen);