]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
crypto: omap-sham - remove extra reference
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>
Thu, 2 Jun 2011 18:10:03 +0000 (21:10 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 29 Jun 2011 23:44:02 +0000 (07:44 +0800)
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>
drivers/crypto/omap-sham.c

index ba8f1ea84c5e6bf98220b6f3ec3045a115c053e7..8a45fb713250d31ede2389e5dc4929867449cda6 100644 (file)
@@ -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 {