nouveau: Fix compiler warning regression
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 10 Dec 2013 07:43:03 +0000 (08:43 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 10 Dec 2013 07:43:41 +0000 (08:43 +0100)
cfg is now unused, remove it.

Cc: "10.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv50/nv98_video.c

index f748c81a3d0490d8eb61cd1216aac56555efee2a..20ea547ff3417c07203386508e15226f03676b35 100644 (file)
@@ -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;