summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-07-12 13:17:53 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-07-18 17:35:48 +0800
commit5506f53c7cc17c4ad5e69e5512a35faf77182986 (patch)
tree6b58558fb6945fc5d90958a45e7f4852a11ab037 /include/crypto
parent7c001a8650e67cb293120044c3f62756258ed27c (diff)
downloadlwn-5506f53c7cc17c4ad5e69e5512a35faf77182986.tar.gz
lwn-5506f53c7cc17c4ad5e69e5512a35faf77182986.zip
crypto: scatterwalk - Remove scatterwalk_bytes_sglen
This patch removes the now unused scatterwalk_bytes_sglen. Anyone using this out-of-tree should switch over to sg_nents_for_len. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/scatterwalk.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/crypto/scatterwalk.h b/include/crypto/scatterwalk.h
index 35f99b68d037..7e1a33645eb5 100644
--- a/include/crypto/scatterwalk.h
+++ b/include/crypto/scatterwalk.h
@@ -92,8 +92,6 @@ void scatterwalk_done(struct scatter_walk *walk, int out, int more);
void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg,
unsigned int start, unsigned int nbytes, int out);
-int scatterwalk_bytes_sglen(struct scatterlist *sg, int num_bytes);
-
struct scatterlist *scatterwalk_ffwd(struct scatterlist dst[2],
struct scatterlist *src,
unsigned int len);