summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2013-12-10 08:43:03 +0100
committerCarl Worth <[email protected]>2013-12-12 15:35:34 -0800
commita876ea4b7655e0ae09bf40a5f95dcecb84b5705b (patch)
treeb421442411e6eca6b93665b5dd97b2a124a0c2a5
parentd7a71b7181e13332e6f27e0d8d810b84d14a130c (diff)
nouveau: Fix compiler warning regression
cfg is now unused, remove it. Cc: "10.0" <[email protected]> (cherry picked from commit 5576ad11ed922fad641e630fbb9b199f6434f528)
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv98_video.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv98_video.c b/src/gallium/drivers/nouveau/nv50/nv98_video.c
index f748c81a3d0..20ea547ff34 100644
--- a/src/gallium/drivers/nouveau/nv50/nv98_video.c
+++ b/src/gallium/drivers/nouveau/nv50/nv98_video.c
@@ -64,10 +64,6 @@ nv98_create_decoder(struct pipe_context *context,
struct nouveau_vp3_decoder *dec;
struct nouveau_pushbuf **push;
struct nv04_fifo nv04_data = {.vram = 0xbeef0201, .gart = 0xbeef0202};
- union nouveau_bo_config cfg;
-
- cfg.nv50.tile_mode = 0x20;
- cfg.nv50.memtype = 0x70;
int ret, i;
uint32_t codec = 1, ppp_codec = 3;