[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170110.210137.849302729948766638.davem@davemloft.net>
Date: Tue, 10 Jan 2017 21:01:37 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tklauser@...tanz.ch
Cc: netdev@...r.kernel.org, ast@...nel.org, kafai@...com
Subject: Re: [PATCH net-next] bpf: Remove unused but set variable in
__bpf_lru_list_shrink_inactive()
From: Tobias Klauser <tklauser@...tanz.ch>
Date: Tue, 10 Jan 2017 15:02:07 +0100
> Remove the unused but set variable 'first_node' in
> __bpf_lru_list_shrink_inactive() to fix the following GCC warning when
> building with 'W=1':
>
> kernel/bpf/bpf_lru_list.c:216:41: warning: variable ‘first_node’ set but not used [-Wunused-but-set-variable]
>
> Cc: Martin KaFai Lau <kafai@...com>
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
Applied.
Powered by blists - more mailing lists