diff options
-rw-r--r-- | cryptodev_cipher.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cryptodev_cipher.c b/cryptodev_cipher.c index 86b3bdc..97998fe 100644 --- a/cryptodev_cipher.c +++ b/cryptodev_cipher.c @@ -147,12 +147,8 @@ static inline int waitfor (struct cryptodev_result* cr, ssize_t ret) break; case -EINPROGRESS: case -EBUSY: - ret = wait_for_completion(&cr->completion); + wait_for_completion(&cr->completion); /* no error from wait_for_completion */ - if (ret) { - dprintk(0,KERN_ERR,"error waiting for async request completion: %zd\n", ret); - return ret; - } if (cr->err) { dprintk(0,KERN_ERR,"error from async request: %zd \n", ret); |