From 7171c45d3a6392b947d96c10362ce0459b741669 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 30 Nov 2012 21:15:35 -0800 Subject: [PATCH] i965/fs: Drop an unnecessary _safe on a list walk. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 94d200eb5d4..ede2979b915 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -1837,7 +1837,7 @@ fs_visitor::register_coalesce_2() int reg_to = inst->dst.reg; int reg_to_offset = inst->dst.reg_offset; - foreach_list_safe(node, &this->instructions) { + foreach_list(node, &this->instructions) { fs_inst *scan_inst = (fs_inst *)node; if (scan_inst->dst.file == GRF && -- 2.30.2