Browse Source

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>
Dmitry Kasatkin 14 years ago
parent
commit
c3304721ed
1 changed files with 0 additions and 5 deletions
  1. 0 5
      drivers/crypto/omap-sham.c

+ 0 - 5
drivers/crypto/omap-sham.c

@@ -658,7 +658,6 @@ static int omap_sham_handle_queue(struct omap_sham_dev *dd,
 {
 {
 	struct crypto_async_request *async_req, *backlog;
 	struct crypto_async_request *async_req, *backlog;
 	struct omap_sham_reqctx *ctx;
 	struct omap_sham_reqctx *ctx;
-	struct ahash_request *prev_req;
 	unsigned long flags;
 	unsigned long flags;
 	int err = 0, ret = 0;
 	int err = 0, ret = 0;
 
 
@@ -682,16 +681,12 @@ static int omap_sham_handle_queue(struct omap_sham_dev *dd,
 		backlog->complete(backlog, -EINPROGRESS);
 		backlog->complete(backlog, -EINPROGRESS);
 
 
 	req = ahash_request_cast(async_req);
 	req = ahash_request_cast(async_req);
-
-	prev_req = dd->req;
 	dd->req = req;
 	dd->req = req;
-
 	ctx = ahash_request_ctx(req);
 	ctx = ahash_request_ctx(req);
 
 
 	dev_dbg(dd->dev, "handling new req, op: %lu, nbytes: %d\n",
 	dev_dbg(dd->dev, "handling new req, op: %lu, nbytes: %d\n",
 						ctx->op, req->nbytes);
 						ctx->op, req->nbytes);
 
 
-
 	err = omap_sham_hw_init(dd);
 	err = omap_sham_hw_init(dd);
 	if (err)
 	if (err)
 		goto err1;
 		goto err1;