On Mon, Oct 30, 2017 at 01:46:47PM -0700, Jakub Kicinski wrote: > bpf_getsockopt bpf call sets the ret variable to zero and > never changes it. What's worse in case CONFIG_INET is > not selected the variable is completely unused generating > a warning. > > Signed-off-by: Jakub Kicinski <jakub.kicin...@netronome.com> > Reviewed-by: Quentin Monnet <quentin.mon...@netronome.com>
Acked-by: Alexei Starovoitov <a...@kernel.org>