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)
commit640eec52abbcb962804e8ff0c69e9802b0b726c0
tree182ee1002ce83dbdfd65ca5cef610e87b8ce585f
parent13fb8fd7a81923f7a64b4e688fe0bdaf1ea26adf
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