diff options
author | Adam Jackson <ajax@redhat.com> | 2017-01-25 15:08:25 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-02-08 11:53:48 -0500 |
commit | e50da50118408a195d4d2e1b39817fe7c4447c56 (patch) | |
tree | 6884781d190fc4185948081e5c93d229b52f035b | |
parent | 0702f2e840370be53d129fc5e3c243dac47ee720 (diff) |
dri1: Remove some dead event code
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
-rw-r--r-- | hw/xfree86/dri/xf86dri.c | 7 |
1 files changed, 0 insertions, 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, |