From: Herbert Xu Date: Thu, 22 Aug 2019 12:09:15 +0000 (+1000) Subject: crypto: talitos - Fix build warning in aead_des3_setkey X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e31b791fae32d01e8d0ee2e731b74d5471293cba;p=linux.git 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 --- diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 117c831b5eded..cb6c10b1bf36a 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);