[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181117015201.r6t62y25a2c22why@ast-mbp.dhcp.thefacebook.com>
Date: Fri, 16 Nov 2018 17:52:02 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Quentin Monnet <quentin.monnet@...ronome.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] bpf: Remove unused variable in nsim_bpf
On Mon, Nov 12, 2018 at 03:10:42PM -0700, Nathan Chancellor wrote:
> Clang warns:
>
> drivers/net/netdevsim/bpf.c:557:30: error: unused variable 'state'
> [-Werror,-Wunused-variable]
> struct nsim_bpf_bound_prog *state;
> ^
> 1 error generated.
>
> The declaration should have been removed in commit b07ade27e933 ("bpf:
> pass translate() as a callback and remove its ndo_bpf subcommand").
>
> Signed-off-by: Nathan Chancellor <natechancellor@...il.com>
Applied, Thanks
Powered by blists - more mailing lists