From: Eric Anholt Date: Sat, 1 Dec 2012 05:15:35 +0000 (-0800) Subject: i965/fs: Drop an unnecessary _safe on a list walk. X-Git-Tag: mesa-9.1-rc1~773 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7171c45d3a6392b947d96c10362ce0459b741669;p=platform%2Fupstream%2Fmesa.git i965/fs: Drop an unnecessary _safe on a list walk. Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 94d200e..ede2979 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 &&