summaryrefslogtreecommitdiffstats
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
commit468577abe37ff7b453a9ac613e0ea155349203ae (patch)
tree45151ac6f36be2327bec63cf44870acb1383afb4 /crypto/scatterwalk.h
parent102d49d3d0f0f471b338b6805001fc3ca7bf663b (diff)
downloadkernel-crypto-468577abe37ff7b453a9ac613e0ea155349203ae.tar.gz
kernel-crypto-468577abe37ff7b453a9ac613e0ea155349203ae.tar.xz
kernel-crypto-468577abe37ff7b453a9ac613e0ea155349203ae.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 'crypto/scatterwalk.h')
-rw-r--r--crypto/scatterwalk.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/scatterwalk.h b/crypto/scatterwalk.h
index 87ed681cceb..fd5517d2a7a 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)
{