crypto: qce - dma_map_sg can handle chained SG
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Fri, 2 Oct 2015 06:01:02 +0000 (08:01 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 Oct 2015 13:42:19 +0000 (21:42 +0800)
commitfea40451530fea9ed3efd31eb932d1855a3a6e2d
tree3cfadb25a90928521f91d91859197261172e7612
parent166db195536f380c4545a8d2fca9789402464bc8
crypto: qce - dma_map_sg can handle chained SG

The qce 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 qce_mapsg, qce_unmapsg and qce_countsg functions.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qce/ablkcipher.c
drivers/crypto/qce/cipher.h
drivers/crypto/qce/dma.c
drivers/crypto/qce/dma.h
drivers/crypto/qce/sha.c
drivers/crypto/qce/sha.h