summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-30 21:15:35 -0800
committerEric Anholt <[email protected]>2012-12-14 16:05:57 -0800
commit7171c45d3a6392b947d96c10362ce0459b741669 (patch)
treedc34ded14b48dc2b0a93c8544ce163ededb9f926 /src/mesa/drivers/dri
parent78ce522932e8c356880c7ca10dace4b6fe6cf313 (diff)
i965/fs: Drop an unnecessary _safe on a list walk.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
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 &&