diff mbox series

[v2] xfrm: delete xfrm4_output_finish xfrm6_output_finish declarations

Message ID ff67f5acbb4060a3c89953687488e96cb40fa862.1623741174.git.antony.antony@secunet.com
State New
Headers show
Series [v2] xfrm: delete xfrm4_output_finish xfrm6_output_finish declarations | expand

Commit Message

Antony Antony June 15, 2021, 7:20 a.m. UTC
These function declarations are not needed any more.
The definitions were deleted.

Fixes: 2ab6096db2f1 ("xfrm: remove output_finish indirection from xfrm_state_afinfo")
Signed-off-by: Antony Antony <antony.antony@secunet.com>
---
 v1->v2 rebase to ipsec-next

 include/net/xfrm.h | 2 --
 1 file changed, 2 deletions(-)

--
2.20.1

Comments

Steffen Klassert June 18, 2021, 7:25 a.m. UTC | #1
On Tue, Jun 15, 2021 at 09:20:08AM +0200, Antony Antony wrote:
> These function declarations are not needed any more.

> The definitions were deleted.

> 

> Fixes: 2ab6096db2f1 ("xfrm: remove output_finish indirection from xfrm_state_afinfo")

> Signed-off-by: Antony Antony <antony.antony@secunet.com>


Applied to ipsec-next, thanks Antony!
diff mbox series

Patch

diff --git a/include/net/xfrm.h b/include/net/xfrm.h
index c8890da00b8a..3a01570410ab 100644
--- a/include/net/xfrm.h
+++ b/include/net/xfrm.h
@@ -1579,7 +1579,6 @@  static inline int xfrm4_rcv_spi(struct sk_buff *skb, int nexthdr, __be32 spi)
 }

 int xfrm4_output(struct net *net, struct sock *sk, struct sk_buff *skb);
-int xfrm4_output_finish(struct sock *sk, struct sk_buff *skb);
 int xfrm4_protocol_register(struct xfrm4_protocol *handler, unsigned char protocol);
 int xfrm4_protocol_deregister(struct xfrm4_protocol *handler, unsigned char protocol);
 int xfrm4_tunnel_register(struct xfrm_tunnel *handler, unsigned short family);
@@ -1603,7 +1602,6 @@  int xfrm6_tunnel_deregister(struct xfrm6_tunnel *handler, unsigned short family)
 __be32 xfrm6_tunnel_alloc_spi(struct net *net, xfrm_address_t *saddr);
 __be32 xfrm6_tunnel_spi_lookup(struct net *net, const xfrm_address_t *saddr);
 int xfrm6_output(struct net *net, struct sock *sk, struct sk_buff *skb);
-int xfrm6_output_finish(struct sock *sk, struct sk_buff *skb);

 #ifdef CONFIG_XFRM
 void xfrm6_local_rxpmtu(struct sk_buff *skb, u32 mtu);