summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2006-09-08 20:17:59 +0000
committerPatrice Mandin <[email protected]>2006-09-08 20:17:59 +0000
commit179c1013d2a8aa83e6bd716a791930863604c46b (patch)
tree4f661f34d2040d74931ce8e0391a810eef532697 /src
parent6d1f98da2ba921fa18cd19ef43f2760549a2aea4 (diff)
Remove useless reference to fifo_num field
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_ioctl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_ioctl.c b/src/mesa/drivers/dri/nouveau/nouveau_ioctl.c
index 32bdcef06b9..4530cf91334 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_ioctl.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_ioctl.c
@@ -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
}