diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-15 12:08:45 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-11 08:16:14 +1100 |
commit | 468577abe37ff7b453a9ac613e0ea155349203ae (patch) | |
tree | 45151ac6f36be2327bec63cf44870acb1383afb4 /crypto/digest.c | |
parent | 102d49d3d0f0f471b338b6805001fc3ca7bf663b (diff) | |
download | linux-stable-468577abe37ff7b453a9ac613e0ea155349203ae.tar.gz linux-stable-468577abe37ff7b453a9ac613e0ea155349203ae.tar.bz2 linux-stable-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/digest.c')
-rw-r--r-- | crypto/digest.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/digest.c b/crypto/digest.c index 8871dec8cae7..d3e827a141f1 100644 --- a/crypto/digest.c +++ b/crypto/digest.c @@ -21,7 +21,6 @@ #include <linux/scatterlist.h> #include "internal.h" -#include "scatterwalk.h" static int init(struct hash_desc *desc) { @@ -77,7 +76,7 @@ static int update2(struct hash_desc *desc, if (!nbytes) break; - sg = scatterwalk_sg_next(sg); + sg = sg_next(sg); } return 0; |