From 5ccd5871ed10ca92bfdb934832d58e92f9ab9523 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Thu, 8 Aug 2019 13:37:49 -0700 Subject: [PATCH] nir: remove unused constant_fold_state Signed-off-by: Rob Clark Reviewed-by: Eric Anholt --- src/compiler/nir/nir_opt_constant_folding.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/compiler/nir/nir_opt_constant_folding.c b/src/compiler/nir/nir_opt_constant_folding.c index 38d011536bb..4123bc8af6d 100644 --- a/src/compiler/nir/nir_opt_constant_folding.c +++ b/src/compiler/nir/nir_opt_constant_folding.c @@ -32,12 +32,6 @@ * Implements SSA-based constant folding. */ -struct constant_fold_state { - void *mem_ctx; - nir_function_impl *impl; - bool progress; -}; - static bool constant_fold_alu_instr(nir_alu_instr *instr, void *mem_ctx) { -- 2.30.2