[PATCH net-next] mptcp: Remove unused declaration mptcp_set_owner_r()

Yue Haibing posted 1 patch 9 months, 3 weeks ago
There is a newer version of this series
net/mptcp/protocol.h | 1 -
1 file changed, 1 deletion(-)
[PATCH net-next] mptcp: Remove unused declaration mptcp_set_owner_r()
Posted by Yue Haibing 9 months, 3 weeks ago
Commit 6639498ed85f ("mptcp: cleanup mem accounting")
removed the implementation but leave declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 net/mptcp/protocol.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/mptcp/protocol.h b/net/mptcp/protocol.h
index 256677c43ca6..bd2992776d8a 100644
--- a/net/mptcp/protocol.h
+++ b/net/mptcp/protocol.h
@@ -720,7 +720,6 @@ struct sock *__mptcp_nmpc_sk(struct mptcp_sock *msk);
 bool __mptcp_close(struct sock *sk, long timeout);
 void mptcp_cancel_work(struct sock *sk);
 void __mptcp_unaccepted_force_close(struct sock *sk);
-void mptcp_set_owner_r(struct sk_buff *skb, struct sock *sk);
 void mptcp_set_state(struct sock *sk, int state);
 
 bool mptcp_addresses_equal(const struct mptcp_addr_info *a,
-- 
2.34.1
Re: [PATCH net-next] mptcp: Remove unused declaration mptcp_set_owner_r()
Posted by Matthieu Baerts 9 months, 2 weeks ago
Hi Yue,

On 28/02/2025 10:51, Yue Haibing wrote:
> Commit 6639498ed85f ("mptcp: cleanup mem accounting")
> removed the implementation but leave declaration.

Thank you, it looks good to me.

Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>

@Netdev maintainers: it can be applied in net-next directly.
Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.