crypto: scatterwalk - Remove unnecessary advance in scatterwalk_pagedone
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 12 Jul 2016 05:17:58 +0000 (13:17 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 18 Jul 2016 09:35:50 +0000 (17:35 +0800)
commit28cf86fafdd663cfcad3c5a5fe9869f1fa01b472
treef7f76d40389544bd7f54b4c590374300283cc29f
parent5f070e81bee35f1b7bd1477bb223a873ff657803
crypto: scatterwalk - Remove unnecessary advance in scatterwalk_pagedone

The offset advance in scatterwalk_pagedone not only is unnecessary,
but it was also buggy when it was needed by scatterwalk_copychunks.
As the latter has long ago been fixed to call scatterwalk_advance
directly, we can remove this unnecessary offset adjustment.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/scatterwalk.c