summaryrefslogtreecommitdiffstats
path: root/crypto/digest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/digest.c')
-rw-r--r--crypto/digest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index 8871dec..d3e827a 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;
OpenPOWER on IntegriCloud