From d0cd86686d96dcc9e76be52f1907758d0cab990d Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Mon, 1 Sep 2014 18:47:01 -0400 Subject: [PATCH] nv50: remove unused variables Recent code changes have caused these to no longer be used. Remove them. Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nv50/nv50_state_validate.c | 1 - src/gallium/drivers/nouveau/nv50/nv84_video.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c index 4f2758af499..6916beab393 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c @@ -93,7 +93,6 @@ nv50_validate_fb(struct nv50_context *nv50) if (fb->zsbuf) { struct nv50_miptree *mt = nv50_miptree(fb->zsbuf->texture); struct nv50_surface *sf = nv50_surface(fb->zsbuf); - struct nouveau_bo *bo = mt->base.bo; int unk = mt->base.base.target == PIPE_TEXTURE_3D || sf->depth == 1; BEGIN_NV04(push, NV50_3D(ZETA_ADDRESS_HIGH), 5); diff --git a/src/gallium/drivers/nouveau/nv50/nv84_video.c b/src/gallium/drivers/nouveau/nv50/nv84_video.c index b42de20f72f..395bd7a355b 100644 --- a/src/gallium/drivers/nouveau/nv50/nv84_video.c +++ b/src/gallium/drivers/nouveau/nv50/nv84_video.c @@ -609,7 +609,6 @@ nv84_video_buffer_create(struct pipe_context *pipe, struct pipe_sampler_view sv_templ; struct pipe_surface surf_templ; struct nv50_miptree *mt0, *mt1; - struct nouveau_bo *empty = NULL; struct nouveau_screen *screen = &((struct nv50_context *)pipe)->screen->base; union nouveau_bo_config cfg; unsigned bo_size; -- 2.30.2