summaryrefslogtreecommitdiff
path: root/crypto/scatterwalk.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-11-15 12:08:45 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-01-11 08:16:14 +1100
commite1831a52fbacad9aa2bcc90636f2a8e03584d90c (patch)
tree1c1ac48f05e4568ddbed9fcc4aa258b4f6e3df64 /crypto/scatterwalk.h
parentb8803214ef1c505b448dce93679c6a01b2ed66f6 (diff)
downloadlinux-crypto-e1831a52fbacad9aa2bcc90636f2a8e03584d90c.tar.gz
linux-crypto-e1831a52fbacad9aa2bcc90636f2a8e03584d90c.zip
[CRYPTO] scatterwalk: Use generic scatterlist chaining
This patch converts the crypto scatterwalk code to use the generic scatterlist chaining rather the version specific to crypto. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--crypto/scatterwalk.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/scatterwalk.h b/crypto/scatterwalk.h
index 87ed681c..fd5517d2 100644
--- a/crypto/scatterwalk.h
+++ b/crypto/scatterwalk.h
@@ -20,11 +20,6 @@
#include "internal.h"
-static inline struct scatterlist *scatterwalk_sg_next(struct scatterlist *sg)
-{
- return (++sg)->length ? sg : (void *) sg_page(sg);
-}
-
static inline unsigned long scatterwalk_samebuf(struct scatter_walk *walk_in,
struct scatter_walk *walk_out)
{