From: Dmitry Kasatkin Subject: [PATCH 01/11] omap-sham: remove extra reference Date: Thu, 2 Jun 2011 21:10:03 +0300 Message-ID: <52fd01bd74e867ad0d8b7ef59f32e52adec5abaa.1306926921.git.dmitry.kasatkin@gmail.com> References: Cc: linux-crypto@vger.kernel.org, linux-omap@vger.kernel.org, Dmitry Kasatkin To: herbert@gondor.hengli.com.au Return-path: In-Reply-To: In-Reply-To: References: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org From: Dmitry Kasatkin Request pointer is already available in the function. Signed-off-by: Dmitry Kasatkin --- drivers/crypto/omap-sham.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index ba8f1ea..8a45fb7 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 { -- 1.7.4.1