From: Shaokun Zhang Date: Sat, 29 May 2021 07:52:02 +0000 (+0800) Subject: xfrm: Remove the repeated declaration X-Git-Tag: accepted/tizen/unified/20230118.172025~6675^2^2~15^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e1e89418a5ccdfb325aed538307c2f9dba6ef51;p=platform%2Fkernel%2Flinux-rpi.git xfrm: Remove the repeated declaration Function 'xfrm_parse_spi' is declared twice, so remove the repeated declaration. Cc: Steffen Klassert Cc: Herbert Xu Cc: "David S. Miller" Signed-off-by: Shaokun Zhang Signed-off-by: Steffen Klassert --- diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 6232a5f..b306236 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) {