aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>2011-06-02 21:10:03 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2011-06-30 07:44:02 +0800
commit0e87b159b31e551fe5447dcafc5769c05dc5e404 (patch)
tree5f6782f3db6282605561e61caaad83cd704e70e5 /drivers/crypto
parent033590fc9d38bb82b904439daada78f930c070db (diff)
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>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/omap-sham.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index ba8f1ea84c5..8a45fb71325 100644
--- a/drivers/crypto/omap-sham.c
+++ b/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;
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 {