From: Rob Clark Date: Thu, 8 Aug 2019 20:37:49 +0000 (-0700) Subject: nir: remove unused constant_fold_state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ccd5871ed10ca92bfdb934832d58e92f9ab9523;p=mesa.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 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) {