summaryrefslogtreecommitdiff
path: root/net/tls
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-07-23 20:01:33 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-08-03 13:06:03 +0300
commit8c30fbe63e4eff1b221f8db70ae5c48a9331eae0 (patch)
tree9e4e0fde893784009f5372deebd1c09c2b88b2c3 /net/tls
parent0567fc9e90b9b1c8dbce8a5468758e6206744d4a (diff)
downloadlinux-8c30fbe63e4eff1b221f8db70ae5c48a9331eae0.tar.xz
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>
Diffstat (limited to 'net/tls')
-rw-r--r--net/tls/tls_device_fallback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_device_fallback.c b/net/tls/tls_device_fallback.c
index 748914abdb60..4e1ec12bc0fb 100644
--- a/net/tls/tls_device_fallback.c
+++ b/net/tls/tls_device_fallback.c
@@ -42,7 +42,7 @@ static void chain_to_walk(struct scatterlist *sg, struct scatter_walk *walk)
sg_set_page(sg, sg_page(src),
src->length - diff, walk->offset);
- scatterwalk_crypto_chain(sg, sg_next(src), 0, 2);
+ scatterwalk_crypto_chain(sg, sg_next(src), 2);
}
static int tls_enc_record(struct aead_request *aead_req,