projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
617fe29
)
tcp_memcontrol: remove a redundant statement in tcp_destroy_cgroup()
author
Zefan Li
<lizefan@huawei.com>
Mon, 8 Apr 2013 19:59:28 +0000
(19:59 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 9 Apr 2013 17:19:34 +0000
(13:19 -0400)
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>
net/ipv4/tcp_memcontrol.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/tcp_memcontrol.c
b/net/ipv4/tcp_memcontrol.c
index b6f3583ddfe83eae73370c9070c567e452518f57..d52196f56862a779dbd7d8c13b8450239488be80 100644
(file)
--- a/
net/ipv4/tcp_memcontrol.c
+++ b/
net/ipv4/tcp_memcontrol.c
@@
-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);