diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2015-10-02 08:01:02 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-10-08 15:42:19 +0200 |
commit | fea40451530fea9ed3efd31eb932d1855a3a6e2d (patch) | |
tree | 3cfadb25a90928521f91d91859197261172e7612 /drivers/crypto/qce/dma.h | |
parent | crypto: ccp - Use module name in driver structures (diff) | |
download | linux-fea40451530fea9ed3efd31eb932d1855a3a6e2d.tar.xz linux-fea40451530fea9ed3efd31eb932d1855a3a6e2d.zip |
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>
Diffstat (limited to 'drivers/crypto/qce/dma.h')
-rw-r--r-- | drivers/crypto/qce/dma.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/crypto/qce/dma.h b/drivers/crypto/qce/dma.h index 65bedb81de0b..130235d17bb4 100644 --- a/drivers/crypto/qce/dma.h +++ b/drivers/crypto/qce/dma.h @@ -49,11 +49,6 @@ int qce_dma_prep_sgs(struct qce_dma_data *dma, struct scatterlist *sg_in, dma_async_tx_callback cb, void *cb_param); void qce_dma_issue_pending(struct qce_dma_data *dma); int qce_dma_terminate_all(struct qce_dma_data *dma); -int qce_countsg(struct scatterlist *sg_list, int nbytes, bool *chained); -void qce_unmapsg(struct device *dev, struct scatterlist *sg, int nents, - enum dma_data_direction dir, bool chained); -int qce_mapsg(struct device *dev, struct scatterlist *sg, int nents, - enum dma_data_direction dir, bool chained); struct scatterlist * qce_sgtable_add(struct sg_table *sgt, struct scatterlist *sg_add); |