From 171cb9a2807588630fed401f3e0b8ae22d91595f Mon Sep 17 00:00:00 2001 From: Dmitry Kasatkin Date: Thu, 2 Jun 2011 21:10:08 +0300 Subject: crypto: omap-sham - remove unnecessary local variable Signed-off-by: Dmitry Kasatkin Signed-off-by: Herbert Xu --- drivers/crypto/omap-sham.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'drivers/crypto') diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index b959dc6dbbd..84e5890c57e 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); } -- cgit v1.2.3-70-g09d2