Skip to content

Commit

Permalink
crypto: omap-sham - remove extra reference
Browse files Browse the repository at this point in the history
Request pointer is already available in the function.

Signed-off-by: Dmitry Kasatkin <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Dmitry Kasatkin authored and herbertx committed Jun 29, 2011
1 parent 033590f commit 0e87b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/omap-sham.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0e87b15

Please sign in to comment.