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: 9d574ae8eb ("crypto: talitos/des - switch to new...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Herbert Xu 2019-08-22 22:09:15 +10:00
parent c963050259
commit e31b791fae
1 changed files with 0 additions and 1 deletions

View File

@ -925,7 +925,6 @@ static int aead_des3_setkey(struct crypto_aead *authenc,
struct talitos_ctx *ctx = crypto_aead_ctx(authenc); struct talitos_ctx *ctx = crypto_aead_ctx(authenc);
struct device *dev = ctx->dev; struct device *dev = ctx->dev;
struct crypto_authenc_keys keys; struct crypto_authenc_keys keys;
u32 flags;
int err; int err;
err = crypto_authenc_extractkeys(&keys, key, keylen); err = crypto_authenc_extractkeys(&keys, key, keylen);