diff mbox series

crypto: scatterwalk - remove duplicate function declarations

Message ID 20220926091440.98804-1-tianjia.zhang@linux.alibaba.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series crypto: scatterwalk - remove duplicate function declarations | expand

Commit Message

tianjia.zhang Sept. 26, 2022, 9:14 a.m. UTC
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(-)

Comments

Herbert Xu Oct. 21, 2022, 11:33 a.m. UTC | #1
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.
diff mbox series

Patch

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);