aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/omap-sham.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c
index 8a45fb713250..ac12a608d502 100644
--- a/drivers/crypto/omap-sham.c
+++ b/drivers/crypto/omap-sham.c
@@ -658,7 +658,6 @@ static int omap_sham_handle_queue(struct omap_sham_dev *dd,
658{ 658{
659 struct crypto_async_request *async_req, *backlog; 659 struct crypto_async_request *async_req, *backlog;
660 struct omap_sham_reqctx *ctx; 660 struct omap_sham_reqctx *ctx;
661 struct ahash_request *prev_req;
662 unsigned long flags; 661 unsigned long flags;
663 int err = 0, ret = 0; 662 int err = 0, ret = 0;
664 663
@@ -682,16 +681,12 @@ static int omap_sham_handle_queue(struct omap_sham_dev *dd,
682 backlog->complete(backlog, -EINPROGRESS); 681 backlog->complete(backlog, -EINPROGRESS);
683 682
684 req = ahash_request_cast(async_req); 683 req = ahash_request_cast(async_req);
685
686 prev_req = dd->req;
687 dd->req = req; 684 dd->req = req;
688
689 ctx = ahash_request_ctx(req); 685 ctx = ahash_request_ctx(req);
690 686
691 dev_dbg(dd->dev, "handling new req, op: %lu, nbytes: %d\n", 687 dev_dbg(dd->dev, "handling new req, op: %lu, nbytes: %d\n",
692 ctx->op, req->nbytes); 688 ctx->op, req->nbytes);
693 689
694
695 err = omap_sham_hw_init(dd); 690 err = omap_sham_hw_init(dd);
696 if (err) 691 if (err)
697 goto err1; 692 goto err1;