i965/fs: Drop an unnecessary _safe on a list walk.
authorEric Anholt <eric@anholt.net>
Sat, 1 Dec 2012 05:15:35 +0000 (21:15 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 15 Dec 2012 00:05:57 +0000 (16:05 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 94d200eb5d45e79e2800a09c0e932bc88f148e95..ede2979b9157dbdc7a9655e3ef319b9d4b0be2f9 100644 (file)
@@ -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 &&