OSDN Git Service

crypto: sl3516 - remove redundant initializations of pointers in_sg and out_sg
authorColin Ian King <colin.i.king@gmail.com>
Sun, 30 Jan 2022 23:05:15 +0000 (23:05 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 5 Feb 2022 04:27:10 +0000 (15:27 +1100)
commit95e26b0391d085bbdbe1a82ffaaf2f92a3f71433
tree7fa4fc616da7d240ced463b262409696e4c39951
parentc717993dd76a1049093af5c262e751d901b8da10
crypto: sl3516 - remove redundant initializations of pointers in_sg and out_sg

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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/gemini/sl3516-ce-cipher.c