xf86-video-intel: Branch 'drm-gem' - src/i830_dri.c

Dave Airlie airlied at kemper.freedesktop.org
Thu Jun 12 18:33:05 PDT 2008


 src/i830_dri.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 02d7141ac395446613edba0f2e2a951e750e4e9f
Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Jun 13 11:30:58 2008 +1000

    [gem] remove one more unused bit

diff --git a/src/i830_dri.c b/src/i830_dri.c
index 85b0709..2f3c5d3 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -1505,7 +1505,6 @@ I830DRIClipNotify(ScreenPtr pScreen, WindowPtr *ppWin, int num)
 static int
 i830_name_buffer (ScrnInfoPtr pScrn, i830_memory *mem)
 {
-#if HAVE_DRM_GEM
     if (mem && mem->gem_handle)
     {
 	I830Ptr			pI830 = I830PTR(pScrn);
@@ -1526,7 +1525,6 @@ i830_name_buffer (ScrnInfoPtr pScrn, i830_memory *mem)
 	}
 	return mem->gem_name;
     }
-#endif
     return -1;
 }
 


More information about the xorg-commit mailing list