tcp_memcontrol: remove a redundant statement in tcp_destroy_cgroup()
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- net/ipv4/tcp_memcontrol.c | 2 -- 1 file changed, 2 deletions(-)
net/ipv4/tcp_memcontrol.c +0 -2
@@ -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);
Signature · 1 line
1.8.0.2
From: Li Zefan <[email protected]>
Date: Tue, 9 Apr 2013 13:59:28 +0800
Quoted 3 lines
We read the value but make no use of it.
Signed-off-by Li Zefan <[email protected]>
Applied.