Skip to content

Commit

Permalink
crypto: talitos - Fix build warning in aead_des3_setkey
Browse files Browse the repository at this point in the history
This patch removes the variable flags which is now unused thanks
to the new DES helpers.

Fixes: 9d574ae ("crypto: talitos/des - switch to new...")
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
herbertx committed Aug 22, 2019
1 parent c963050 commit e31b791
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/crypto/talitos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e31b791

Please sign in to comment.