[Mesa-dev] [PATCH mesa] i965: drop unused variables

Kenneth Graunke kenneth at whitecape.org
Fri Sep 15 19:10:51 UTC 2017


On Friday, September 15, 2017 10:11:11 AM PDT Eric Engestrom wrote:
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
>  src/mesa/drivers/dri/i965/brw_gs.c            | 1 -
>  src/mesa/drivers/dri/i965/intel_batchbuffer.c | 1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_gs.c b/src/mesa/drivers/dri/i965/brw_gs.c
> index 5a170de845..179ccc4c6f 100644
> --- a/src/mesa/drivers/dri/i965/brw_gs.c
> +++ b/src/mesa/drivers/dri/i965/brw_gs.c
> @@ -198,7 +198,6 @@ brw_gs_populate_key(struct brw_context *brw,
>  void
>  brw_upload_gs_prog(struct brw_context *brw)
>  {
> -   const struct gen_device_info *devinfo = &brw->screen->devinfo;
>     struct brw_stage_state *stage_state = &brw->gs.base;
>     struct brw_gs_prog_key key;
>     /* BRW_NEW_GEOMETRY_PROGRAM */
> diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
> index b6ce8174d5..da4a4d5f25 100644
> --- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c
> +++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
> @@ -174,7 +174,6 @@ intel_batchbuffer_reset(struct intel_batchbuffer *batch,
>                          struct intel_screen *screen)
>  {
>     struct brw_bufmgr *bufmgr = screen->bufmgr;
> -   const struct gen_device_info *devinfo = &screen->devinfo;
>  
>     if (batch->last_bo != NULL) {
>        brw_bo_unreference(batch->last_bo);
> 

Thanks for fixing this!  Pushed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170915/02395539/attachment.sig>


More information about the mesa-dev mailing list