From e50da50118408a195d4d2e1b39817fe7c4447c56 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 25 Jan 2017 15:08:25 -0500 Subject: [PATCH] dri1: Remove some dead event code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adam Jackson Reviewed-by: Michel Dänzer --- 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 68f8b7e72..fcae73d26 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,