Re: [PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG

2015-10-01 Thread Herbert Xu
On Wed, Sep 23, 2015 at 01:55:26PM +0200, LABBE Corentin wrote: > 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 funct

Re: [PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG

2015-09-23 Thread Stanimir Varbanov
Hi, On 09/23/2015 02:55 PM, LABBE Corentin wrote: > 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. > > Si

[PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG

2015-09-23 Thread LABBE Corentin
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 --- drivers/crypto/qce/ablkcipher.c |