summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/geode_ddc.c2
-rw-r--r--src/lx_display.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/src/geode_ddc.c b/src/geode_ddc.c
index 7b8277d..a72844d 100644
--- a/src/geode_ddc.c
+++ b/src/geode_ddc.c
@@ -175,10 +175,8 @@ GeodeGetDDC(ScrnInfoPtr pScrni)
mon = xf86DoEDID_DDC2(DDC_CALL(pScrni), bus);
-#if (XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,4,99,0,0))
if (mon)
xf86DDCApplyQuirks(pScrni->scrnIndex, mon);
-#endif
xf86DestroyI2CBusRec(bus, FALSE, FALSE);
diff --git a/src/lx_display.c b/src/lx_display.c
index 43d20b3..7816b94 100644
--- a/src/lx_display.c
+++ b/src/lx_display.c
@@ -389,11 +389,7 @@ lx_create_bo_pixmap(ScreenPtr pScreen,
{
PixmapPtr pixmap;
-#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,5,0,0,0)
pixmap = (*pScreen->CreatePixmap) (pScreen, 0, 0, depth, 0);
-#else
- pixmap = (*pScreen->CreatePixmap) (pScreen, 0, 0, depth);
-#endif
if (!pixmap)
return NULL;