crypto: shash - remove shash_desc::flags
[sfrench/cifs-2.6.git] / crypto / asymmetric_keys / verify_pefile.c
index d178650fd524cfe8bc390c883505f4cbc31d60f2..f8e4a932bcfbcec7f4ff3b57351435ac0e8e7e79 100644 (file)
@@ -354,7 +354,6 @@ static int pefile_digest_pe(const void *pebuf, unsigned int pelen,
                goto error_no_desc;
 
        desc->tfm   = tfm;
-       desc->flags = CRYPTO_TFM_REQ_MAY_SLEEP;
        ret = crypto_shash_init(desc);
        if (ret < 0)
                goto error;