summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/bfin_crc.c
diff options
context:
space:
mode:
authorCristian Stoica2015-01-20 09:06:16 +0100
committerHerbert Xu2015-01-26 01:34:22 +0100
commit5be4d4c94b1f98b839344fda7a8752a4a09d0ef5 (patch)
tree7af802fd927fea331cfb43c9b4d7978b5a607fda /drivers/crypto/bfin_crc.c
parentcrypto: atmel - Free memory in error path (diff)
downloadkernel-qcow2-linux-5be4d4c94b1f98b839344fda7a8752a4a09d0ef5.tar.gz
kernel-qcow2-linux-5be4d4c94b1f98b839344fda7a8752a4a09d0ef5.tar.xz
kernel-qcow2-linux-5be4d4c94b1f98b839344fda7a8752a4a09d0ef5.zip
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: 468577abe37ff7b453a9ac613e0ea155349203ae reverted in b2ab4a57b018aafbba35bff088218f5cc3d2142e Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/bfin_crc.c')
-rw-r--r--drivers/crypto/bfin_crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/bfin_crc.c b/drivers/crypto/bfin_crc.c
index 33cf9eb87344..d9af9403ab6c 100644
--- a/drivers/crypto/bfin_crc.c
+++ b/drivers/crypto/bfin_crc.c
@@ -110,7 +110,7 @@ static int sg_count(struct scatterlist *sg_list)
while (!sg_is_last(sg)) {
sg_nents++;
- sg = scatterwalk_sg_next(sg);
+ sg = sg_next(sg);
}
return sg_nents;