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>
This commit is contained in:
parent
aef70a1f44
commit
d778c30a05
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue