]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
crypto: talitos - Fix build warning in aead_des3_setkey
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Aug 2019 12:09:15 +0000 (22:09 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Aug 2019 12:12:45 +0000 (22:12 +1000)
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>
drivers/crypto/talitos.c

index 117c831b5eded582c439a718f72ffb43d14d65cb..cb6c10b1bf36a25bff207cafa3e711e6663ba285 100644 (file)
@@ -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);