diff options
author | Dmitry Kasatkin <dmitry.kasatkin@nokia.com> | 2011-06-02 14:10:08 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2011-06-29 19:44:03 -0400 |
commit | 171cb9a2807588630fed401f3e0b8ae22d91595f (patch) | |
tree | 2cc77a11e73f9d42022e866746438d319abf167a /drivers/crypto/omap-sham.c | |
parent | ed3ea9a82b4c63e591ceaa065b2e04a3fe946265 (diff) |
crypto: omap-sham - remove unnecessary local variable
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-sham.c')
-rw-r--r-- | 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 b959dc6dbbde..84e5890c57e9 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c | |||
@@ -1033,7 +1033,6 @@ static struct ahash_alg algs[] = { | |||
1033 | static void omap_sham_done_task(unsigned long data) | 1033 | static void omap_sham_done_task(unsigned long data) |
1034 | { | 1034 | { |
1035 | struct omap_sham_dev *dd = (struct omap_sham_dev *)data; | 1035 | struct omap_sham_dev *dd = (struct omap_sham_dev *)data; |
1036 | struct ahash_request *req = dd->req; | ||
1037 | int ready = 0, err = 0; | 1036 | int ready = 0, err = 0; |
1038 | 1037 | ||
1039 | if (test_and_clear_bit(FLAGS_OUTPUT_READY, &dd->flags)) | 1038 | if (test_and_clear_bit(FLAGS_OUTPUT_READY, &dd->flags)) |
@@ -1050,7 +1049,7 @@ static void omap_sham_done_task(unsigned long data) | |||
1050 | if (err != -EINPROGRESS && (ready || err)) { | 1049 | if (err != -EINPROGRESS && (ready || err)) { |
1051 | dev_dbg(dd->dev, "update done: err: %d\n", err); | 1050 | dev_dbg(dd->dev, "update done: err: %d\n", err); |
1052 | /* finish curent request */ | 1051 | /* finish curent request */ |
1053 | omap_sham_finish_req(req, err); | 1052 | omap_sham_finish_req(dd->req, err); |
1054 | /* start new request */ | 1053 | /* start new request */ |
1055 | omap_sham_handle_queue(dd, NULL); | 1054 | omap_sham_handle_queue(dd, NULL); |
1056 | } | 1055 | } |