dri1: Remove some dead event code
Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
0702f2e840
commit
e50da50118
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue