From: Rob Clark Date: Thu, 8 Aug 2019 20:37:49 +0000 (-0700) Subject: nir: remove unused constant_fold_state X-Git-Tag: upstream/19.3.0~2271 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5ccd5871ed10ca92bfdb934832d58e92f9ab9523;p=platform%2Fupstream%2Fmesa.git nir: remove unused constant_fold_state Signed-off-by: Rob Clark Reviewed-by: Eric Anholt --- diff --git a/src/compiler/nir/nir_opt_constant_folding.c b/src/compiler/nir/nir_opt_constant_folding.c index 38d0115..4123bc8 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) {