]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - crypto/cts.c
afs: cell: Remove unnecessary code in afs_lookup_cell
[mirror_ubuntu-bionic-kernel.git] / crypto / cts.c
index 243f591dc4091a7e4dec269d4e9a11b0133539cc..4773c188e6d9281fe7cc2dc7c1ba569e2d500f8b 100644 (file)
@@ -136,8 +136,7 @@ static void crypto_cts_encrypt_done(struct crypto_async_request *areq, int err)
                goto out;
 
        err = cts_cbc_encrypt(req);
-       if (err == -EINPROGRESS ||
-           (err == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
+       if (err == -EINPROGRESS || err == -EBUSY)
                return;
 
 out:
@@ -229,8 +228,7 @@ static void crypto_cts_decrypt_done(struct crypto_async_request *areq, int err)
                goto out;
 
        err = cts_cbc_decrypt(req);
-       if (err == -EINPROGRESS ||
-           (err == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
+       if (err == -EINPROGRESS || err == -EBUSY)
                return;
 
 out: