mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 18:42:14 -04:00
crypto: omap-sham - remove extra reference
Request pointer is already available in the function. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
committed by
Herbert Xu
parent
033590fc9d
commit
0e87b159b3
@@ -639,7 +639,7 @@ static void omap_sham_finish_req(struct ahash_request *req, int err)
|
||||
struct omap_sham_dev *dd = ctx->dd;
|
||||
|
||||
if (!err) {
|
||||
omap_sham_copy_hash(ctx->dd->req, 1);
|
||||
omap_sham_copy_hash(req, 1);
|
||||
if (ctx->flags & FLAGS_FINAL)
|
||||
err = omap_sham_finish(req);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user