nir: Drop nir_dest_init
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 14 Aug 2023 13:37:25 +0000 (09:37 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 14 Aug 2023 21:22:53 +0000 (21:22 +0000)
Unused.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24674>

src/compiler/nir/nir.h

index 3151ce8..9b56242 100644 (file)
@@ -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)
 {