diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-15 04:08:45 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 21:16:14 (GMT) |
commit | 468577abe37ff7b453a9ac613e0ea155349203ae (patch) | |
tree | 45151ac6f36be2327bec63cf44870acb1383afb4 /crypto/scatterwalk.h | |
parent | 102d49d3d0f0f471b338b6805001fc3ca7bf663b (diff) | |
download | linux-468577abe37ff7b453a9ac613e0ea155349203ae.tar.xz |
[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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/scatterwalk.h b/crypto/scatterwalk.h index 87ed681..fd5517d 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) { |