Messages in this thread | | | Date | Sat, 5 Feb 2022 15:34:28 +1100 | From | Herbert Xu <> | Subject | Re: [PATCH] crypto: sl3516: remove redundant initializations of pointers in_sg and out_sg |
| |
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@gmail.com> > --- > drivers/crypto/gemini/sl3516-ce-cipher.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |