Skip to content

Commit

Permalink
crypto: omap-sham - remove unnecessary local variable
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Kasatkin <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
Dmitry Kasatkin authored and herbertx committed Jun 29, 2011
1 parent ed3ea9a commit 171cb9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/crypto/omap-sham.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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);
}
Expand Down

0 comments on commit 171cb9a

Please sign in to comment.