From: Andrii Nakryiko <andriin@fb.com>
Date: Wed, 25 Sep 2019 11:36:14 -0700
Subject: selftests/bpf: delete unused variables in test_sysctl
Patch-mainline: v5.4-rc1
Git-commit: d778c30a056ac352d1c0c58b5850e0fcc5655a58
References: bsc#1177028
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>
Acked-by: Gary Lin <glin@suse.com>
---
tools/testing/selftests/bpf/test_sysctl.c | 1 -
1 file changed, 1 deletion(-)
--- 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
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);