diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp_memcontrol.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/tcp_memcontrol.c b/net/ipv4/tcp_memcontrol.c index b6f3583ddfe8..d52196f56862 100644 --- a/net/ipv4/tcp_memcontrol.c +++ b/net/ipv4/tcp_memcontrol.c | |||
@@ -72,8 +72,6 @@ void tcp_destroy_cgroup(struct mem_cgroup *memcg) | |||
72 | 72 | ||
73 | tcp = tcp_from_cgproto(cg_proto); | 73 | tcp = tcp_from_cgproto(cg_proto); |
74 | percpu_counter_destroy(&tcp->tcp_sockets_allocated); | 74 | percpu_counter_destroy(&tcp->tcp_sockets_allocated); |
75 | |||
76 | val = res_counter_read_u64(&tcp->tcp_memory_allocated, RES_LIMIT); | ||
77 | } | 75 | } |
78 | EXPORT_SYMBOL(tcp_destroy_cgroup); | 76 | EXPORT_SYMBOL(tcp_destroy_cgroup); |
79 | 77 | ||