Skip to content

Commit

Permalink
dri1: Remove some dead event code
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
  • Loading branch information
nwnk committed Feb 8, 2017
1 parent 0702f2e commit e50da50
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hw/xfree86/dri/xf86dri.c
Expand Up @@ -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,
Expand Down

0 comments on commit e50da50

Please sign in to comment.