From feeeb45639b3bb608a6bae090c6cff67dd91e75d Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 23 May 2023 18:19:03 -0400 Subject: [PATCH] nir: Drop stale comments Follow-on clean up after 01e9ee79f70 ("nir: Drop unused name from nir_ssa_dest_init"). The referenced argument no longer exists. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Faith Ekstrand Reviewed-by: Rob Clark Reviewed-by: Jesse Natalie Part-of: --- src/compiler/nir/nir.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c index 1295f34..56e66a4 100644 --- a/src/compiler/nir/nir.c +++ b/src/compiler/nir/nir.c @@ -1785,7 +1785,6 @@ nir_instr_rewrite_dest(nir_instr *instr, nir_dest *dest, nir_dest new_dest) src_add_all_uses(dest->reg.indirect, instr, NULL); } -/* note: does *not* take ownership of 'name' */ void nir_ssa_def_init(nir_instr *instr, nir_ssa_def *def, unsigned num_components, @@ -1809,7 +1808,6 @@ nir_ssa_def_init(nir_instr *instr, nir_ssa_def *def, } } -/* note: does *not* take ownership of 'name' */ void nir_ssa_dest_init(nir_instr *instr, nir_dest *dest, unsigned num_components, unsigned bit_size) -- 2.7.4