Skip to content

Commit

Permalink
crypto: talitos - Use request_complete helpers
Browse files Browse the repository at this point in the history
Use the request_complete helpers instead of calling the completion
function directly.

Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
herbertx committed Feb 13, 2023
1 parent 555c566 commit 234650b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/crypto/talitos.c
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ static void skcipher_done(struct device *dev,

kfree(edesc);

areq->base.complete(&areq->base, err);
skcipher_request_complete(areq, err);
}

static int common_nonsnoop(struct talitos_edesc *edesc,
Expand Down Expand Up @@ -1759,7 +1759,7 @@ static void ahash_done(struct device *dev,

kfree(edesc);

areq->base.complete(&areq->base, err);
ahash_request_complete(areq, err);
}

/*
Expand Down

0 comments on commit 234650b

Please sign in to comment.