summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/unichrome/server/via_dri.c3
-rw-r--r--src/mesa/drivers/dri/unichrome/server/via_dri.h (renamed from src/mesa/drivers/dri/unichrome/via_dri.h)0
2 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 63c49757dad..d7217d205b3 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);
diff --git a/src/mesa/drivers/dri/unichrome/via_dri.h b/src/mesa/drivers/dri/unichrome/server/via_dri.h
index 188c685a767..188c685a767 100644
--- a/src/mesa/drivers/dri/unichrome/via_dri.h
+++ b/src/mesa/drivers/dri/unichrome/server/via_dri.h