]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Remove unused but set variable
authorTobias Klauser <tklauser@distanz.ch>
Tue, 18 Oct 2016 09:22:54 +0000 (11:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Oct 2016 14:34:27 +0000 (10:34 -0400)
commitaa7bd2b6a8037838b18d006140f14b285f8a3052
treef613aeee5cd85d15ee5f675c00cc5d8c2c053159
parent59ca12ccb9199e49aac4199eedd96b02fa9e5d5f
tcp: Remove unused but set variable

Remove the unused but set variable icsk in listening_get_next to fix the
following GCC warning when building with 'W=1':

  net/ipv4/tcp_ipv4.c: In function ‘listening_get_next’:
  net/ipv4/tcp_ipv4.c:1890:31: warning: variable ‘icsk’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c