[PATCH xserver] dri1: Remove some dead event code

Adam Jackson ajax at redhat.com
Wed Jan 25 20:08:25 UTC 2017


Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 hw/xfree86/dri/xf86dri.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/hw/xfree86/dri/xf86dri.c b/hw/xfree86/dri/xf86dri.c
index 68f8b7e..fcae73d 100644
--- a/hw/xfree86/dri/xf86dri.c
+++ b/hw/xfree86/dri/xf86dri.c
@@ -599,14 +599,7 @@ XFree86DRIExtensionInit(void)
 {
     ExtensionEntry *extEntry;
 
-#ifdef XF86DRI_EVENTS
-    EventType = CreateNewResourceType(XF86DRIFreeEvents, "DRIEvent");
-#endif
-
     if (DRIExtensionInit() &&
-#ifdef XF86DRI_EVENTS
-        EventType && ScreenPrivateIndex != -1 &&
-#endif
         (extEntry = AddExtension(XF86DRINAME,
                                  XF86DRINumberEvents,
                                  XF86DRINumberErrors,
-- 
2.9.3



More information about the xorg-devel mailing list