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: To
From: Tobias Klauser
Date: Tue, 18 Oct 2016 11:22:54 +0200
> 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