Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 811e6ed6 authored by Phil Sutter's avatar Phil Sutter Committed by Herbert Xu
Browse files

crypto: mv_cesa - drop this call to mv_hash_final from mv_hash_finup



The code in mv_hash_final is actually a superset of mv_hash_finup's
body. Since the driver works fine without, drop it.

Signed-off-by: default avatarPhil Sutter <phil.sutter@viprinet.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 99db3eac
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -728,9 +728,6 @@ static int mv_hash_final(struct ahash_request *req)

static int mv_hash_finup(struct ahash_request *req)
{
	if (!req->nbytes)
		return mv_hash_final(req);

	mv_update_hash_req_ctx(ahash_request_ctx(req), 1, req->nbytes);
	return mv_handle_req(&req->base);
}