[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161018.103437.1321761578970745583.davem@davemloft.net>
Date: Tue, 18 Oct 2016 10:34:37 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: tklauser@...tanz.ch
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] tcp: Remove unused but set variable
From: Tobias Klauser <tklauser@...tanz.ch>
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 ‘icsk’ set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Applied.
Powered by blists - more mailing lists