diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-09-25 11:36:14 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-09-25 22:16:17 +0200 |
commit | d778c30a056ac352d1c0c58b5850e0fcc5655a58 (patch) | |
tree | 21231f5203cd33872cb3b1d94536a5e3e1b86ec9 /tools | |
parent | aef70a1f44c0b570e6345c02c2d240471859f0a4 (diff) |
selftests/bpf: delete unused variables in test_sysctl
Remove no longer used variables and avoid compiler warnings.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/bpf/test_sysctl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/test_sysctl.c b/tools/testing/selftests/bpf/test_sysctl.c index 4f8ec1f10a80..a320e3844b17 100644 --- a/tools/testing/selftests/bpf/test_sysctl.c +++ b/tools/testing/selftests/bpf/test_sysctl.c @@ -1385,7 +1385,6 @@ static int fixup_sysctl_value(const char *buf, size_t buf_len, uint8_t raw[sizeof(uint64_t)]; uint64_t num; } value = {}; - uint8_t c, i; if (buf_len > sizeof(value)) { log_err("Value is too big (%zd) to use in fixup", buf_len); |