[Mesa-dev] [PATCH] i965: Remove unused variables

Jordan Justen jordan.l.justen at intel.com
Wed May 6 15:50:20 PDT 2015


Whoops, these should have been added in a later (not yet sent to list)
patch. (I need to look into posting those patches! :)

Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

On 2015-05-06 15:14:42, Anuj Phogat wrote:
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
>  src/mesa/drivers/dri/i965/brw_cs.cpp | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_cs.cpp b/src/mesa/drivers/dri/i965/brw_cs.cpp
> index e2f3d63..70731e4 100644
> --- a/src/mesa/drivers/dri/i965/brw_cs.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_cs.cpp
> @@ -212,11 +212,9 @@ brw_codegen_cs_prog(struct brw_context *brw,
>  static void
>  brw_cs_populate_key(struct brw_context *brw, struct brw_cs_prog_key *key)
>  {
> -   struct gl_context *ctx = &brw->ctx;
>     /* BRW_NEW_COMPUTE_PROGRAM */
>     const struct brw_compute_program *cp =
>        (struct brw_compute_program *) brw->compute_program;
> -   const struct gl_program *prog = (struct gl_program *) cp;
>  
>     memset(key, 0, sizeof(*key));
>  
> -- 
> 1.9.3
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list