crypto: replace scatterwalk_sg_next with sg_next
Modify crypto drivers to use the generic SG helper since both of them are equivalent and the one from crypto is redundant. See also:468577abe3
reverted inb2ab4a57b0
Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
088f628cc0
commit
5be4d4c94b
15 changed files with 30 additions and 39 deletions
|
@ -121,7 +121,7 @@ int crypto_hash_walk_done(struct crypto_hash_walk *walk, int err)
|
|||
if (!walk->total)
|
||||
return 0;
|
||||
|
||||
walk->sg = scatterwalk_sg_next(walk->sg);
|
||||
walk->sg = sg_next(walk->sg);
|
||||
|
||||
return hash_walk_new_entry(walk);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue