[Mesa-dev] [PATCH] glsl: Remove unused field loop_variable_state::loop.
Kenneth Graunke
kenneth at whitecape.org
Wed Nov 27 11:07:48 PST 2013
On 11/27/2013 10:59 AM, Paul Berry wrote:
> This field was neither initialized nor used. It was just dead memory.
> ---
> src/glsl/loop_analysis.h | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/src/glsl/loop_analysis.h b/src/glsl/loop_analysis.h
> index 769d626..98414b3 100644
> --- a/src/glsl/loop_analysis.h
> +++ b/src/glsl/loop_analysis.h
> @@ -71,11 +71,6 @@ public:
>
>
> /**
> - * Loop whose variable state is being tracked by this structure
> - */
> - ir_loop *loop;
> -
> - /**
> * Variables that have not yet been classified
> */
> exec_list variables;
>
Sounds good to me.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
More information about the mesa-dev
mailing list