crypto: scatterwalk - remove 'chain' argument from scatterwalk_crypto_chain()

All callers pass chain=0 to scatterwalk_crypto_chain().

Remove this unneeded parameter.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Eric Biggers
2018-07-23 10:01:33 -07:00
committed by Herbert Xu
parent 0567fc9e90
commit 8c30fbe63e
5 changed files with 7 additions and 13 deletions

View File

@@ -22,14 +22,8 @@
#include <linux/scatterlist.h>
static inline void scatterwalk_crypto_chain(struct scatterlist *head,
struct scatterlist *sg,
int chain, int num)
struct scatterlist *sg, int num)
{
if (chain) {
head->length += sg->length;
sg = sg_next(sg);
}
if (sg)
sg_chain(head, num, sg);
else