crypto: remove propagation of CRYPTO_TFM_RES_* flags
[linux-2.6-microblaze.git] / crypto / lrw.c
index be829f6..8ebd792 100644 (file)
@@ -79,8 +79,6 @@ static int setkey(struct crypto_skcipher *parent, const u8 *key,
        crypto_skcipher_set_flags(child, crypto_skcipher_get_flags(parent) &
                                         CRYPTO_TFM_REQ_MASK);
        err = crypto_skcipher_setkey(child, key, keylen - bsize);
-       crypto_skcipher_set_flags(parent, crypto_skcipher_get_flags(child) &
-                                         CRYPTO_TFM_RES_MASK);
        if (err)
                return err;