summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler/nir/nir_print.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c
index 60b74d13dc7..17ae3681e21 100644
--- a/src/compiler/nir/nir_print.c
+++ b/src/compiler/nir/nir_print.c
@@ -964,16 +964,6 @@ print_function_impl(nir_function_impl *impl, print_state *state)
fprintf(fp, "{\n");
- for (unsigned i = 0; i < impl->num_params; i++) {
- fprintf(fp, "\t");
- print_var_decl(impl->params[i], state);
- }
-
- if (impl->return_var) {
- fprintf(fp, "\t");
- print_var_decl(impl->return_var, state);
- }
-
nir_foreach_variable(var, &impl->locals) {
fprintf(fp, "\t");
print_var_decl(var, state);