tcp_memcontrol: remove a redundant statement in tcp_destroy_cgroup()
We read the value but make no use of it. Signed-off-by: Li Zefan <lizefan@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
617fe29d45
commit
10b96f7306
1 changed files with 0 additions and 2 deletions
|
@ -72,8 +72,6 @@ void tcp_destroy_cgroup(struct mem_cgroup *memcg)
|
|||
|
||||
tcp = tcp_from_cgproto(cg_proto);
|
||||
percpu_counter_destroy(&tcp->tcp_sockets_allocated);
|
||||
|
||||
val = res_counter_read_u64(&tcp->tcp_memory_allocated, RES_LIMIT);
|
||||
}
|
||||
EXPORT_SYMBOL(tcp_destroy_cgroup);
|
||||
|
||||
|
|
Loading…
Reference in a new issue