[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>
This commit is contained in:
Herbert Xu
2007-11-15 12:08:45 +08:00
parent 102d49d3d0
commit 468577abe3
4 changed files with 3 additions and 9 deletions

View File

@@ -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;