From: Daniel Borkmann Date: Sun, 14 Apr 2013 08:29:12 +0000 (+0000) Subject: net: tcp_memcontrol: minor: remove unused variable X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4731d011d678679c188b6f9cd93a83970c562598;p=pandora-kernel.git net: tcp_memcontrol: minor: remove unused variable Commit 10b96f7306e5 (``tcp_memcontrol: remove a redundant statement in tcp_destroy_cgroup()'') says ``We read the value but make no use of it.'', but forgot to remove the variable declaration as well. This was a follow-up commit of 3f1346193 (``memcg: decrement static keys at real destroy time'') that removed the read of variable 'val'. This fixes therefore: CC net/ipv4/tcp_memcontrol.o net/ipv4/tcp_memcontrol.c: In function ‘tcp_destroy_cgroup’: net/ipv4/tcp_memcontrol.c:67:6: warning: unused variable ‘val’ [-Wunused-variable] Signed-off-by: Daniel Borkmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed