[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200716115633.GH31166@gondor.apana.org.au>
Date: Thu, 16 Jul 2020 21:56:33 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: ayush.sawal@...lsio.com, vinay.yadav@...lsio.com,
rohitm@...lsio.com, davem@...emloft.net,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 1/2] Crypto/chcr: Avoid some code duplication
On Sun, Jul 12, 2020 at 11:14:04PM +0200, Christophe JAILLET wrote:
> The error handling path of 'chcr_authenc_setkey()' is the same as this
> error handling code.
>
> So just 'goto out' as done everywhere in the function to simplify the code.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
> ---
> drivers/crypto/chelsio/chcr_algo.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists