summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/server/via_dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/server/via_dri.c')
-rw-r--r--src/mesa/drivers/dri/unichrome/server/via_dri.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/unichrome/server/via_dri.c b/src/mesa/drivers/dri/unichrome/server/via_dri.c
index 63c49757da..d7217d205b 100644
--- a/src/mesa/drivers/dri/unichrome/server/via_dri.c
+++ b/src/mesa/drivers/dri/unichrome/server/via_dri.c
@@ -33,8 +33,6 @@
#include "drm.h"
#include "imports.h"
-typedef int Bool; /* via_dri.h makes use of this */
-
#include "dri_util.h"
#include "via_context.h"
@@ -384,7 +382,6 @@ static int VIADRIScreenInit(DRIDriverContext * ctx)
}
pVIADRI->regs.size = VIA_MMIO_REGSIZE;
- pVIADRI->regs.map = 0;
pVIADRI->regs.handle = pVia->registerHandle;
xf86DrvMsg(pScreen->myNum, X_INFO, "[drm] mmio Registers = 0x%08lx\n",
pVIADRI->regs.handle);