Mesa (master): nouveau: Fix compiler warning regression

Maarten Lankhorst mlankhorst at kemper.freedesktop.org
Tue Dec 10 07:46:08 UTC 2013


Module: Mesa
Branch: master
Commit: 5576ad11ed922fad641e630fbb9b199f6434f528
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5576ad11ed922fad641e630fbb9b199f6434f528

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>

---

 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