linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Kasatkin <dmitry.s.kasatkin@gmail.com>
To: herbert@gondor.hengli.com.au
Cc: linux-crypto@vger.kernel.org, linux-omap@vger.kernel.org,
	Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
Subject: [PATCH 06/11] omap-sham: remove unnecessary local variable
Date: Thu,  2 Jun 2011 21:10:08 +0300	[thread overview]
Message-ID: <34981be4c02475c2e77401d27b6b6951adf6ec6d.1306926921.git.dmitry.kasatkin@gmail.com> (raw)
In-Reply-To: <cover.1306926921.git.dmitry.kasatkin@gmail.com>
In-Reply-To: <cover.1306926921.git.dmitry.kasatkin@gmail.com>

From: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>

Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
---
 drivers/crypto/omap-sham.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index b959dc6..84e5890 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -1033,7 +1033,6 @@ static struct ahash_alg algs[] = {
 static void omap_sham_done_task(unsigned long data)
 {
 	struct omap_sham_dev *dd = (struct omap_sham_dev *)data;
-	struct ahash_request *req = dd->req;
 	int ready = 0, err = 0;
 
 	if (test_and_clear_bit(FLAGS_OUTPUT_READY, &dd->flags))
@@ -1050,7 +1049,7 @@ static void omap_sham_done_task(unsigned long data)
 	if (err != -EINPROGRESS && (ready || err)) {
 		dev_dbg(dd->dev, "update done: err: %d\n", err);
 		/* finish curent request */
-		omap_sham_finish_req(req, err);
+		omap_sham_finish_req(dd->req, err);
 		/* start new request */
 		omap_sham_handle_queue(dd, NULL);
 	}
-- 
1.7.4.1


  parent reply	other threads:[~2011-06-02 18:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02 18:10 [PATCH 00/11] crypto: omap-sham driver fixes Dmitry Kasatkin
2011-06-02 18:10 ` [PATCH 01/11] omap-sham: remove extra reference Dmitry Kasatkin
2011-06-02 18:10 ` [PATCH 02/11] omap-sham: remove unused code Dmitry Kasatkin
2011-06-02 18:10 ` [PATCH 03/11] omap-sham: replace flags bit mask with bit number Dmitry Kasatkin
2011-06-02 18:10 ` [PATCH 04/11] omap-sham: replace flags operation with atomic bit operations Dmitry Kasatkin
2011-06-02 18:10 ` [PATCH 05/11] omap-sham: move some flags to device context Dmitry Kasatkin
2011-06-02 18:10 ` Dmitry Kasatkin [this message]
2011-06-02 18:10 ` [PATCH 07/11] omap-sham: remove dedicated queue handling tasklet Dmitry Kasatkin
2011-06-02 18:10 ` [PATCH 08/11] omap-sham: irq and dma handling changes Dmitry Kasatkin
2011-06-02 18:10 ` [PATCH 09/11] omap-sham: irq handler must not clear error code Dmitry Kasatkin
2011-06-02 18:10 ` [PATCH 10/11] omap-sham: clear device flags when finishing request Dmitry Kasatkin
2011-06-02 18:10 ` [PATCH 11/11] omap-sham: do not schedule tasklet if there is no active requests Dmitry Kasatkin
2011-06-08 13:08 ` [PATCH 00/11] crypto: omap-sham driver fixes Herbert Xu
2011-06-08 19:36   ` Dmitry Kasatkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34981be4c02475c2e77401d27b6b6951adf6ec6d.1306926921.git.dmitry.kasatkin@gmail.com \
    --to=dmitry.s.kasatkin@gmail.com \
    --cc=dmitry.kasatkin@nokia.com \
    --cc=herbert@gondor.hengli.com.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).