Module: Mesa Branch: master Commit: 7171c45d3a6392b947d96c10362ce0459b741669 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7171c45d3a6392b947d96c10362ce0459b741669
Author: Eric Anholt <[email protected]> Date: Fri Nov 30 21:15:35 2012 -0800 i965/fs: Drop an unnecessary _safe on a list walk. Reviewed-by: Kenneth Graunke <[email protected]> --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 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 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 && _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
