projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3ea9a
)
crypto: omap-sham - remove unnecessary local variable
author
Dmitry Kasatkin
<dmitry.kasatkin@nokia.com>
Thu, 2 Jun 2011 18:10:08 +0000
(21:10 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 29 Jun 2011 23:44:03 +0000
(07:44 +0800)
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/omap-sham.c
b/drivers/crypto/omap-sham.c
index b959dc6dbbde8b39075db4daa291b7e04a3e05c2..84e5890c57e9f386678978dbc0f19e2d49392a95 100644
(file)
--- 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);
}