summaryrefslogtreecommitdiffstats
path: root/include/net/xfrm.h
diff options
context:
space:
mode:
authorShaokun Zhang <zhangshaokun@hisilicon.com>2021-05-29 15:52:02 +0800
committerSteffen Klassert <steffen.klassert@secunet.com>2021-06-01 07:54:09 +0200
commit6e1e89418a5ccdfb325aed538307c2f9dba6ef51 (patch)
treec5c9b1c4be33722f7e314f17c25531e8e1cdd2ad /include/net/xfrm.h
parentd7b0408934c749f546b01f2b33d07421a49b6f3e (diff)
downloadlinux-6e1e89418a5ccdfb325aed538307c2f9dba6ef51.tar.gz
linux-6e1e89418a5ccdfb325aed538307c2f9dba6ef51.tar.bz2
linux-6e1e89418a5ccdfb325aed538307c2f9dba6ef51.zip
xfrm: Remove the repeated declaration
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> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/net/xfrm.h')
-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)
{