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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7171c45d3a6392b947d96c10362ce0459b741669;p=mesa.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 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 &&