summaryrefslogtreecommitdiffstats
path: root/include/crypto/scatterwalk.h
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2022-09-26 11:14:40 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2022-10-21 13:05:24 +0200
commitf30fe6314698d107edbb9db50bc3c3443a30ec80 (patch)
tree56a4ee66620cc03170f1875483187a19ca4d9c11 /include/crypto/scatterwalk.h
parentcrypto: ccm - use local variables instead of indirect references (diff)
downloadlinux-f30fe6314698d107edbb9db50bc3c3443a30ec80.tar.xz
linux-f30fe6314698d107edbb9db50bc3c3443a30ec80.zip
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/scatterwalk.h')
-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);