Revert "crypto: gemini - Fix error check for dma_map_sg"
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Sep 2022 10:15:53 +0000 (18:15 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Sep 2022 10:15:53 +0000 (18:15 +0800)
commitfb1e1257b0cb93328f2909755b0fa2dc582cc508
tree3f15b29f46f38b97a2c87c31fd275f1361a369ed
parenta9a98d49da52c5bf63cd8bbc1f33b52edec2e9c9
Revert "crypto: gemini - Fix error check for dma_map_sg"

This reverts commit 545665ad1e84eb8f047018a2f607e78cef29c7fa.

The original code was correct and arguably more robust than the
patched version.

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