aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/qce/sha.h
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-10-02 08:01:02 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-10-08 21:42:19 +0800
commitfea40451530fea9ed3efd31eb932d1855a3a6e2d (patch)
tree3cfadb25a90928521f91d91859197261172e7612 /drivers/crypto/qce/sha.h
parentcrypto: ccp - Use module name in driver structures (diff)
downloadlinux-dev-fea40451530fea9ed3efd31eb932d1855a3a6e2d.tar.xz
linux-dev-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 '')
-rw-r--r--drivers/crypto/qce/sha.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/crypto/qce/sha.h b/drivers/crypto/qce/sha.h
index 286f0d5397f3..236bb5e9ae75 100644
--- a/drivers/crypto/qce/sha.h
+++ b/drivers/crypto/qce/sha.h
@@ -36,7 +36,6 @@ struct qce_sha_ctx {
* @flags: operation flags
* @src_orig: original request sg list
* @nbytes_orig: original request number of bytes
- * @src_chained: is source scatterlist chained
* @src_nents: source number of entries
* @byte_count: byte count
* @count: save count in states during update, import and export
@@ -55,7 +54,6 @@ struct qce_sha_reqctx {
unsigned long flags;
struct scatterlist *src_orig;
unsigned int nbytes_orig;
- bool src_chained;
int src_nents;
__be32 byte_count[2];
u64 count;