]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: sahara - dma_map_sg can handle chained SG
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Wed, 23 Sep 2015 11:55:28 +0000 (13:55 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 1 Oct 2015 13:56:56 +0000 (21:56 +0800)
commitb8aabc5af9150652ee12dd07bd5188ea9fb785d8
tree182ee1002ce83dbdfd65ca5cef610e87b8ce585f
parente3803ff3b8dd3f7b0398fab3fa1c80cc2d24e1ff
crypto: sahara - dma_map_sg can handle chained SG

The sahara driver use two dma_map_sg path according to SG are chained
or not.
Since dma_map_sg can handle both case, clean the code with all
references to sg chained.

Thus removing the sahara_sha_unmap_sg function.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sahara.c