@@ -1056,7 +1056,6 @@ int synchronizers_init(void)
{
uint32_t workers_count, max_threads;
int ret = 0;
- odp_cpumask_t mask;
if (0 != odp_init_global(NULL, NULL)) {
fprintf(stderr, "error: odp_init_global() failed.\n");
@@ -1082,7 +1081,7 @@ int synchronizers_init(void)
global_mem->g_iterations = MAX_ITERATIONS;
global_mem->g_verbose = VERBOSE;
- workers_count = odp_cpumask_default_worker(&mask, 0);
+ workers_count = odp_cpumask_default_worker(NULL, 0);
max_threads = (workers_count >= MAX_WORKERS) ?
MAX_WORKERS : workers_count;
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> --- test/validation/synchronizers/synchronizers.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)