From: Dmitry Kasatkin Date: Thu, 2 Jun 2011 18:10:03 +0000 (+0300) Subject: crypto: omap-sham - remove extra reference X-Git-Tag: next-20110726~115^2~27 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0e87b159b31e551fe5447dcafc5769c05dc5e404;p=karo-tx-linux.git crypto: omap-sham - remove extra reference Request pointer is already available in the function. Signed-off-by: Dmitry Kasatkin Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index ba8f1ea84c5e..8a45fb713250 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 {