From 6b01d6a6b822921c486cdae07d034b1c2e1e07ee Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 14 Aug 2023 09:37:25 -0400 Subject: [PATCH] nir: Drop nir_dest_init Unused. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Faith Ekstrand Part-of: --- src/compiler/nir/nir.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 3151ce8..9b56242 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1042,15 +1042,6 @@ typedef struct { nir_def ssa; } nir_dest; -static inline nir_dest -nir_dest_init(void) -{ - nir_dest dest = { { NULL } }; - return dest; -} - -#define NIR_DEST_INIT nir_dest_init() - static inline nir_src nir_src_for_ssa(nir_def *def) { -- 2.7.4