diff mbox series

xfrm: Remove the repeated declaration

Message ID 1622274722-9945-1-git-send-email-zhangshaokun@hisilicon.com (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series xfrm: Remove the repeated declaration | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Guessed tree name to be net-next
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cc_maintainers warning 1 maintainers not CCed: kuba@kernel.org
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 295 this patch: 295
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 250 this patch: 250
netdev/header_inline success Link

Commit Message

Shaokun Zhang May 29, 2021, 7:52 a.m. UTC
Function 'xfrm_parse_spi' is declared twice, so remove the
repeated declaration.

Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net> 
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
---
 include/net/xfrm.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Steffen Klassert June 3, 2021, 8:17 a.m. UTC | #1
On Sat, May 29, 2021 at 03:52:02PM +0800, Shaokun Zhang wrote:
> Function 'xfrm_parse_spi' is declared twice, so remove the
> repeated declaration.
> 
> Cc: Steffen Klassert <steffen.klassert@secunet.com>
> Cc: Herbert Xu <herbert@gondor.apana.org.au>
> Cc: "David S. Miller" <davem@davemloft.net> 
> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index c58a6d4eb610..5ae00e522a14 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1570,7 +1570,6 @@  int xfrm4_rcv_encap(struct sk_buff *skb, int nexthdr, __be32 spi,
 		    int encap_type);
 int xfrm4_transport_finish(struct sk_buff *skb, int async);
 int xfrm4_rcv(struct sk_buff *skb);
-int xfrm_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq);
 
 static inline int xfrm4_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi)
 {