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 21:42:19 +0800 |
commit | fea40451530fea9ed3efd31eb932d1855a3a6e2d (patch) | |
tree | 3cfadb25a90928521f91d91859197261172e7612 /drivers/crypto/qce/cipher.h | |
parent | 166db195536f380c4545a8d2fca9789402464bc8 (diff) | |
download | blackbird-obmc-linux-fea40451530fea9ed3efd31eb932d1855a3a6e2d.tar.gz blackbird-obmc-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/cipher.h')
-rw-r--r-- | drivers/crypto/qce/cipher.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/crypto/qce/cipher.h b/drivers/crypto/qce/cipher.h index d5757cfcda2d..5c6a5f8633e5 100644 --- a/drivers/crypto/qce/cipher.h +++ b/drivers/crypto/qce/cipher.h @@ -32,8 +32,6 @@ struct qce_cipher_ctx { * @ivsize: IV size * @src_nents: source entries * @dst_nents: destination entries - * @src_chained: is source chained - * @dst_chained: is destination chained * @result_sg: scatterlist used for result buffer * @dst_tbl: destination sg table * @dst_sg: destination sg pointer table beginning @@ -47,8 +45,6 @@ struct qce_cipher_reqctx { unsigned int ivsize; int src_nents; int dst_nents; - bool src_chained; - bool dst_chained; struct scatterlist result_sg; struct sg_table dst_tbl; struct scatterlist *dst_sg; |