selftests/bpf: test_progs: remove global fail/success counts
[muen/linux.git] / tools / testing / selftests / bpf / prog_tests / get_stack_raw_tp.c
index 3d59b3c..eba9a97 100644 (file)
@@ -135,10 +135,7 @@ void test_get_stack_raw_tp(void)
                exp_cnt -= err;
        }
 
-       goto close_prog_noerr;
 close_prog:
-       error_cnt++;
-close_prog_noerr:
        if (!IS_ERR_OR_NULL(link))
                bpf_link__destroy(link);
        if (!IS_ERR_OR_NULL(pb))