Re: [PATCH v2]crypto:hifn_795x.c Fix warning: variable 'ctx' set but not used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 6 Jul 2010 09:59:38 -0700
"Justin P. Mattock" <justinmattock@xxxxxxxxx> wrote:

> @@ -2035,7 +2034,7 @@ static void hifn_flush(struct hifn_device *dev)
>  
>  	spin_lock_irqsave(&dev->lock, flags);
>  	while ((async_req = crypto_dequeue_request(&dev->queue))) {
> -		ctx = crypto_tfm_ctx(async_req->tfm);
> +		crypto_tfm_ctx(async_req->tfm);

delete the entire line.

> -		ctx = crypto_tfm_ctx(async_req->tfm);
> +		crypto_tfm_ctx(async_req->tfm);

here too.

Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux