aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaokun Zhang <[email protected]>2021-05-29 15:52:02 +0800
committerSteffen Klassert <[email protected]>2021-06-01 07:54:09 +0200
commit6e1e89418a5ccdfb325aed538307c2f9dba6ef51 (patch)
treec5c9b1c4be33722f7e314f17c25531e8e1cdd2ad
parentd7b0408934c749f546b01f2b33d07421a49b6f3e (diff)
xfrm: Remove the repeated declaration
Function 'xfrm_parse_spi' is declared twice, so remove the repeated declaration. Cc: Steffen Klassert <[email protected]> Cc: Herbert Xu <[email protected]> Cc: "David S. Miller" <[email protected]> Signed-off-by: Shaokun Zhang <[email protected]> Signed-off-by: Steffen Klassert <[email protected]>
-rw-r--r--include/net/xfrm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index 6232a5f048bd..b30623678430 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1571,7 +1571,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)
{