aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorDmitry Kasatkin <dmitry.kasatkin@nokia.com>2011-06-02 14:10:04 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2011-06-29 19:44:02 -0400
commitc3304721ed666804395fc340f1aa347b18f1dda0 (patch)
treee28363cf19f0fc10da897c3565d853cebd96c25f /drivers/crypto
parent0e87b159b31e551fe5447dcafc5769c05dc5e404 (diff)
crypto: omap-sham - remove unused code
Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@nokia.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
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;