Remove useless reference to fifo_num field
authorPatrice Mandin <pmandin@freedesktop.org>
Fri, 8 Sep 2006 20:17:59 +0000 (20:17 +0000)
committerPatrice Mandin <pmandin@freedesktop.org>
Fri, 8 Sep 2006 20:17:59 +0000 (20:17 +0000)
src/mesa/drivers/dri/nouveau/nouveau_ioctl.c

index 32bdcef06b984e77744a83c990d82c2992be1a7f..4530cf913348eb9525d69774a11cb68be100feed 100644 (file)
@@ -39,15 +39,13 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 void nouveauIoctlInitFifo()
 {
        int ret;
-       int fifo_num;
        __DRIscreenPrivate *sPriv;
        drm_nouveau_fifo_init_t fifo_init;
 
-       fifo_init.fifo_num=&fifo_num;
        ret = drmCommandWriteRead(sPriv->fd, DRM_NOUVEAU_FIFO_INIT, &fifo_init, sizeof(fifo_init));
        if (ret)
                FATAL("Fifo initialization ioctl failed (returned %d)\n",ret);
-       MESSAGE("Fifo init ok. Got number %d\n",fifo_num);
+       MESSAGE("Fifo init ok. Channel %d\n", fifo_init.channel);
        // XXX needs more stuff
 }