Mesa (master): nv50: remove unused variables
Ilia Mirkin
imirkin at kemper.freedesktop.org
Mon Sep 1 22:48:49 UTC 2014
Module: Mesa
Branch: master
Commit: d0cd86686d96dcc9e76be52f1907758d0cab990d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d0cd86686d96dcc9e76be52f1907758d0cab990d
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Mon Sep 1 18:47:01 2014 -0400
nv50: remove unused variables
Recent code changes have caused these to no longer be used. Remove them.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
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 4f2758a..6916bea 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 b42de20..395bd7a 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;
More information about the mesa-commit
mailing list