@@ -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;
@@ -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;\