net: tcp_memcontrol: simplify linkage between socket and page counter
[linux-drm-fsl-dcu.git] / net / ipv6 / tcp_ipv6.c
index db9f1c318afc3a5157c373f5b5d5fdac09f0049d..4ad8edb46f7c523276e6e837e365202d7ca1e7a7 100644 (file)
@@ -1888,9 +1888,6 @@ struct proto tcpv6_prot = {
 #ifdef CONFIG_COMPAT
        .compat_setsockopt      = compat_tcp_setsockopt,
        .compat_getsockopt      = compat_tcp_getsockopt,
-#endif
-#ifdef CONFIG_MEMCG_KMEM
-       .proto_cgroup           = tcp_proto_cgroup,
 #endif
        .clear_sk               = tcp_v6_clear_sk,
        .diag_destroy           = tcp_abort,