summaryrefslogtreecommitdiffstats
path: root/include/crypto/scatterwalk.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-07-12 07:17:53 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-07-18 11:35:48 +0200
commit5506f53c7cc17c4ad5e69e5512a35faf77182986 (patch)
tree6b58558fb6945fc5d90958a45e7f4852a11ab037 /include/crypto/scatterwalk.h
parentcrypto: omap - Stop using crypto scatterwalk_bytes_sglen (diff)
downloadlinux-5506f53c7cc17c4ad5e69e5512a35faf77182986.tar.xz
linux-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/scatterwalk.h')
-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);