[PATCH] crypto: scatterwalk - remove duplicate function declarations

Tianjia Zhang posted 1 patch 3 years, 6 months ago
include/crypto/scatterwalk.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] crypto: scatterwalk - remove duplicate function declarations
Posted by Tianjia Zhang 3 years, 6 months ago
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>
---
 include/crypto/scatterwalk.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/crypto/scatterwalk.h b/include/crypto/scatterwalk.h
index 6407b4b61350..05338a9f3f5d 100644
--- a/include/crypto/scatterwalk.h
+++ b/include/crypto/scatterwalk.h
@@ -99,7 +99,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);
-- 
2.24.3 (Apple Git-128)
Re: [PATCH] crypto: scatterwalk - remove duplicate function declarations
Posted by Herbert Xu 3 years, 5 months ago
On Mon, Sep 26, 2022 at 05:14:40PM +0800, Tianjia Zhang wrote:
> 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>
> ---
>  include/crypto/scatterwalk.h | 1 -
>  1 file changed, 1 deletion(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt