*/
        unsigned int new_data_len;
 
-       unsigned int chunk_start = 0;
+       unsigned int __maybe_unused chunk_start = 0;
        u32 db_size;     /* Length of data field, incl gcm and hash padding */
        int pad_len = 0; /* total pad len, including gcm, hash, stat padding */
        u32 data_pad_len = 0;   /* length of GCM/CCM padding */
        struct spu_hw *spu = &iproc_priv.spu;
        struct brcm_message *mssg = msg;
        struct iproc_reqctx_s *rctx;
-       struct iproc_ctx_s *ctx;
-       struct crypto_async_request *areq;
        int err = 0;
 
        rctx = mssg->ctx;
                err = -EFAULT;
                goto cb_finish;
        }
-       areq = rctx->parent;
-       ctx = rctx->ctx;
 
        /* process the SPU status */
        err = spu->spu_status_process(rctx->msg_buf.rx_stat);