selftests/bpf: delete unused variables in test_sysctl
Subsystems (5)
PATCH 1/1 selftests/bpf: delete unused variables in test_sysctl
Remove no longer used variables and avoid compiler warnings.
Signed-off-by Andrii Nakryiko <[email protected]>
--- tools/testing/selftests/bpf/test_sysctl.c | 1 - 1 file changed, 1 deletion(-)
tools/testing/selftests/bpf/test_sysctl.c +0 -1
@@ -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);
Signature · 1 line
2.17.1
Quoted 3 lines · Andrii Nakryiko
Remove no longer used variables and avoid compiler warnings.
Signed-off-by Andrii Nakryiko <[email protected]>
Applied, thanks!