diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-15 05:08:45 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 22:16:14 +0100 |
commit | 468577abe37ff7b453a9ac613e0ea155349203ae (patch) | |
tree | 45151ac6f36be2327bec63cf44870acb1383afb4 /crypto/scatterwalk.h | |
parent | [CRYPTO] hifn: Add missing includes (diff) | |
download | linux-468577abe37ff7b453a9ac613e0ea155349203ae.tar.xz linux-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 '')
-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 87ed681cceba..fd5517d2a7a9 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) { |