hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/net/mptcp/protocol.c
....@@ -2863,12 +2863,6 @@
28632863
28642864 static struct proto mptcp_v6_prot;
28652865
2866
-static void mptcp_v6_destroy(struct sock *sk)
2867
-{
2868
- mptcp_destroy(sk);
2869
- inet6_destroy_sock(sk);
2870
-}
2871
-
28722866 static struct inet_protosw mptcp_v6_protosw = {
28732867 .type = SOCK_STREAM,
28742868 .protocol = IPPROTO_MPTCP,
....@@ -2884,7 +2878,6 @@
28842878 mptcp_v6_prot = mptcp_prot;
28852879 strcpy(mptcp_v6_prot.name, "MPTCPv6");
28862880 mptcp_v6_prot.slab = NULL;
2887
- mptcp_v6_prot.destroy = mptcp_v6_destroy;
28882881 mptcp_v6_prot.obj_size = sizeof(struct mptcp6_sock);
28892882
28902883 err = proto_register(&mptcp_v6_prot, 1);