Browse Source

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>
Dmitry Kasatkin 14 years ago
parent
commit
0e87b159b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/crypto/omap-sham.c

+ 1 - 1
drivers/crypto/omap-sham.c

@@ -639,7 +639,7 @@ static void omap_sham_finish_req(struct ahash_request *req, int err)
 	struct omap_sham_dev *dd = ctx->dd;
 	struct omap_sham_dev *dd = ctx->dd;
 
 
 	if (!err) {
 	if (!err) {
-		omap_sham_copy_hash(ctx->dd->req, 1);
+		omap_sham_copy_hash(req, 1);
 		if (ctx->flags & FLAGS_FINAL)
 		if (ctx->flags & FLAGS_FINAL)
 			err = omap_sham_finish(req);
 			err = omap_sham_finish(req);
 	} else {
 	} else {