--- tests/checkasm/checkasm.c | 2 -- tests/checkasm/checkasm.h | 2 -- 2 files changed, 4 deletions(-)
diff --git a/tests/checkasm/checkasm.c b/tests/checkasm/checkasm.c index e921257257..c90f361ff7 100644 --- a/tests/checkasm/checkasm.c +++ b/tests/checkasm/checkasm.c @@ -522,7 +522,6 @@ static int measure_nop_time(void) { uint16_t nops[10000]; int i, nop_sum = 0; - av_unused const int sysfd = state.sysfd; for (i = 0; i < 10000; i++) { uint64_t t = checkasm_bench_start(); @@ -889,7 +888,6 @@ CheckasmPerf *checkasm_get_perf_context(void) { CheckasmPerf *perf = &state.current_func_ver->perf; memset(perf, 0, sizeof(*perf)); - perf->sysfd = state.sysfd; perf->start = checkasm_bench_start; perf->stop = checkasm_bench_start; return perf; diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h index 8f966f49af..6a3f826a7f 100644 --- a/tests/checkasm/checkasm.h +++ b/tests/checkasm/checkasm.h @@ -224,7 +224,6 @@ void *checkasm_get_wrapper(void); #endif typedef struct CheckasmPerf { - int sysfd; uint64_t cycles; int iterations; uint64_t (*start)(void); @@ -236,7 +235,6 @@ typedef struct CheckasmPerf { do {\ if (checkasm_bench_func()) {\ struct CheckasmPerf *perf = checkasm_get_perf_context();\ - av_unused const int sysfd = perf->sysfd;\ uint64_t (*const start)(void) = perf->start;\ uint64_t (*const stop)(void) = perf->stop;\ func_type *tfunc = func_new;\ -- 2.40.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".