Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[sfrench/cifs-2.6.git] / drivers / md / dm-integrity.c
index 7c678f50aaa37a5612ea23bed69e0fb31526224e..95ae4bf342037a5ecd39535fcdd612108bf4cca0 100644 (file)
@@ -532,7 +532,6 @@ static void section_mac(struct dm_integrity_c *ic, unsigned section, __u8 result
        unsigned j, size;
 
        desc->tfm = ic->journal_mac;
-       desc->flags = 0;
 
        r = crypto_shash_init(desc);
        if (unlikely(r)) {
@@ -1276,7 +1275,6 @@ static void integrity_sector_checksum(struct dm_integrity_c *ic, sector_t sector
        unsigned digest_size;
 
        req->tfm = ic->internal_hash;
-       req->flags = 0;
 
        r = crypto_shash_init(req);
        if (unlikely(r < 0)) {