Re: [PATCH] bpf: Remove unused but set variables

2016-11-09 Thread David Miller
From: Tobias Klauser Date: Tue, 8 Nov 2016 16:40:28 +0100 > Remove the unused but set variables min_set and max_set in > adjust_reg_min_max_vals to fix the following warning when building with > 'W=1': > > kernel/bpf/verifier.c:1483:7: warning: variable ‘min_set’ set but not used > [-Wunused

Re: [PATCH] bpf: Remove unused but set variables

2016-11-08 Thread Alexei Starovoitov
On Tue, Nov 08, 2016 at 04:40:28PM +0100, Tobias Klauser wrote: > Remove the unused but set variables min_set and max_set in > adjust_reg_min_max_vals to fix the following warning when building with > 'W=1': > > kernel/bpf/verifier.c:1483:7: warning: variable ‘min_set’ set but not used > [-Wunu

[PATCH] bpf: Remove unused but set variables

2016-11-08 Thread Tobias Klauser
Remove the unused but set variables min_set and max_set in adjust_reg_min_max_vals to fix the following warning when building with 'W=1': kernel/bpf/verifier.c:1483:7: warning: variable ‘min_set’ set but not used [-Wunused-but-set-variable] There is no warning about max_set being unused, but s