diff options
Diffstat (limited to 'drivers/crypto/mv_cesa.c')
-rw-r--r-- | drivers/crypto/mv_cesa.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c index 889c0984cfd1..4aac2941e4c6 100644 --- a/drivers/crypto/mv_cesa.c +++ b/drivers/crypto/mv_cesa.c | |||
@@ -728,9 +728,6 @@ static int mv_hash_final(struct ahash_request *req) | |||
728 | 728 | ||
729 | static int mv_hash_finup(struct ahash_request *req) | 729 | static int mv_hash_finup(struct ahash_request *req) |
730 | { | 730 | { |
731 | if (!req->nbytes) | ||
732 | return mv_hash_final(req); | ||
733 | |||
734 | mv_update_hash_req_ctx(ahash_request_ctx(req), 1, req->nbytes); | 731 | mv_update_hash_req_ctx(ahash_request_ctx(req), 1, req->nbytes); |
735 | return mv_handle_req(&req->base); | 732 | return mv_handle_req(&req->base); |
736 | } | 733 | } |