Mesa (10.0): nouveau: Fix compiler warning regression
Carl Worth
cworth at kemper.freedesktop.org
Fri Dec 13 04:22:07 UTC 2013
Module: Mesa
Branch: 10.0
Commit: a876ea4b7655e0ae09bf40a5f95dcecb84b5705b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a876ea4b7655e0ae09bf40a5f95dcecb84b5705b
Author: Maarten Lankhorst <maarten.lankhorst at canonical.com>
Date: Tue Dec 10 08:43:03 2013 +0100
nouveau: Fix compiler warning regression
cfg is now unused, remove it.
Cc: "10.0" <mesa-stable at lists.freedesktop.org>
(cherry picked from commit 5576ad11ed922fad641e630fbb9b199f6434f528)
---
src/gallium/drivers/nouveau/nv50/nv98_video.c | 4 ----
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 f748c81..20ea547 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;
More information about the mesa-commit
mailing list