summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2014-09-01 18:47:01 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2014-09-01 18:47:42 -0400
commitd0cd86686d96dcc9e76be52f1907758d0cab990d (patch)
tree5146540b1e0ba216982ecd9628a3da7515f43bf2
parent0c38006b5510f7580a0add1339e41cde653cd25c (diff)
nv50: remove unused variables
Recent code changes have caused these to no longer be used. Remove them. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_state_validate.c1
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv84_video.c1
2 files changed, 0 insertions, 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;