diff options
-rw-r--r-- | cryptodev_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cryptodev_main.c b/cryptodev_main.c index 4cdb90d..d969bb1 100644 --- a/cryptodev_main.c +++ b/cryptodev_main.c @@ -404,8 +404,6 @@ crypto_run(struct fcrypt *fcr, struct crypt_op *cop) } bufsize = PAGE_SIZE < nbytes ? PAGE_SIZE : nbytes; - nbytes = cop->len; - if (ses_ptr->hdata.init != 0) { ret = cryptodev_hash_reset(&ses_ptr->hdata); if (unlikely(ret)) { |