summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2022-09-26 17:14:40 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-10-21 19:05:24 +0800
commitf30fe6314698d107edbb9db50bc3c3443a30ec80 (patch)
tree56a4ee66620cc03170f1875483187a19ca4d9c11 /include/crypto
parentad981647dbe1ea91071b9783dd62d74e22c6d955 (diff)
downloadlinux-f30fe6314698d107edbb9db50bc3c3443a30ec80.tar.bz2
crypto: scatterwalk - remove duplicate function declarations
scatterwalk_map() is an inline function already defined in the header file, it is necessary to delete the re-declaration at the same location, which was left out in the header file by an earlier modification. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/scatterwalk.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/crypto/scatterwalk.h b/include/crypto/scatterwalk.h
index ccdb05f68a75..f2c42b4111b1 100644
--- a/include/crypto/scatterwalk.h
+++ b/include/crypto/scatterwalk.h
@@ -93,7 +93,6 @@ static inline void scatterwalk_done(struct scatter_walk *walk, int out,
void scatterwalk_copychunks(void *buf, struct scatter_walk *walk,
size_t nbytes, int out);
-void *scatterwalk_map(struct scatter_walk *walk);
void scatterwalk_map_and_copy(void *buf, struct scatterlist *sg,
unsigned int start, unsigned int nbytes, int out);