[PATCH] crypto: scatterwalk - remove duplicate function declarations

From: Tianjia Zhang
Date: Mon Sep 26 2022 - 05:15:01 EST


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@xxxxxxxxxxxxxxxxx>
---
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)