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) {