crypto: mxs-dcp - remove set but not used variable 'fini'
[linux-2.6-microblaze.git] / drivers / crypto / mxs-dcp.c
index 494cfc4..b442989 100644 (file)
@@ -700,11 +700,7 @@ static int dcp_chan_thread_sha(void *data)
 
        struct crypto_async_request *backlog;
        struct crypto_async_request *arq;
-
-       struct dcp_sha_req_ctx *rctx;
-
-       struct ahash_request *req;
-       int ret, fini;
+       int ret;
 
        while (!kthread_should_stop()) {
                set_current_state(TASK_INTERRUPTIBLE);
@@ -725,11 +721,7 @@ static int dcp_chan_thread_sha(void *data)
                        backlog->complete(backlog, -EINPROGRESS);
 
                if (arq) {
-                       req = ahash_request_cast(arq);
-                       rctx = ahash_request_ctx(req);
-
                        ret = dcp_sha_req_to_buf(arq);
-                       fini = rctx->fini;
                        arq->complete(arq, ret);
                }
        }