[PATCH xserver] dri1: Remove some dead event code

Michel Dänzer michel at daenzer.net
Thu Jan 26 02:02:58 UTC 2017


On 26/01/17 05:08 AM, Adam Jackson wrote:
> 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,
> 

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list