[PATCH] crypto: sl3516: remove redundant initializations of pointers in_sg and out_sg

Herbert Xu herbert at gondor.apana.org.au
Fri Feb 4 20:34:28 PST 2022


On Sun, Jan 30, 2022 at 11:05:15PM +0000, Colin Ian King wrote:
> Pointers in_sg and out_sg are being initialized with values that are
> never read, they are being re-assigned the same values later on. The
> initializations are redundant, remove them in preference to the later
> assignments that are closer to when the pointers are being used.
> 
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
> ---
>  drivers/crypto/gemini/sl3516-ce-cipher.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list