diff mbox series

xfrm: Remove the repeated declaration

Message ID 1622274722-9945-1-git-send-email-zhangshaokun@hisilicon.com
State New
Headers show
Series xfrm: Remove the repeated declaration | expand

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