aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorTobias Klauser <[email protected]>2016-11-08 16:40:28 +0100
committerDavid S. Miller <[email protected]>2016-11-09 21:15:00 -0500
commitde464375daf0d10f04fa5add2e889f42328d2ade (patch)
treed2df5905bf6826732abf06f3eff99ae6244ff164 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentf41cd11d64b2b21012eb4abffbe579bc0b90467f (diff)
bpf: Remove unused but set variables
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 since it is only used in the assignment of min_set it can be removed as well. They were introduced in commit 484611357c19 ("bpf: allow access into map value arrays") but seem to have never been used. Cc: Josef Bacik <[email protected]> Signed-off-by: Tobias Klauser <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions