From 5b9c7586f4f6bea692b9b1bb13d3c88ebb632435 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 26 Oct 2020 11:20:30 -0700 Subject: [PATCH] nir/builder_tests: Drop unused lin_ctx. Reviewed-by: Rhys Perry Part-of: --- src/compiler/nir/tests/builder_tests.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compiler/nir/tests/builder_tests.cpp b/src/compiler/nir/tests/builder_tests.cpp index 037b61d4c05..c897eb1de97 100644 --- a/src/compiler/nir/tests/builder_tests.cpp +++ b/src/compiler/nir/tests/builder_tests.cpp @@ -68,7 +68,6 @@ protected: std::vector stores; void *mem_ctx; - void *lin_ctx; nir_builder *b; }; @@ -78,7 +77,6 @@ nir_builder_test::nir_builder_test() glsl_type_singleton_init_or_ref(); mem_ctx = ralloc_context(NULL); - lin_ctx = linear_alloc_parent(mem_ctx, 0); static const nir_shader_compiler_options options = { }; b = rzalloc(mem_ctx, nir_builder); *b = nir_builder_init_simple_shader(mem_ctx, MESA_SHADER_COMPUTE, &options);