nir: remove unused constant_fold_state
authorRob Clark <robdclark@chromium.org>
Thu, 8 Aug 2019 20:37:49 +0000 (13:37 -0700)
committerRob Clark <robdclark@chromium.org>
Tue, 3 Sep 2019 21:10:57 +0000 (14:10 -0700)
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir_opt_constant_folding.c

index 38d011536bb43a186cacc6431baa3ad1b7eab6ac..4123bc8af6d5d2f8d35ca16f70c8f64696f2ad8d 100644 (file)
  * 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)
 {