[PATCH 07/19] xfree86: remove some ifdef 0 code.

Fernando Carrijo fcarrijo.lists at gmail.com
Tue Sep 7 18:12:31 PDT 2010


Peter Hutterer <peter.hutterer at who-t.net> wrote:

> InputInfoRec hasn't had a free function pointer since the git import.
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>

Reviewed-by: Fernando Carrijo <fcarrijo at freedesktop.org>

> ---
>  hw/xfree86/common/xf86Xinput.c |    6 ------
>  1 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c
> index b277986..ee6d785 100644
> --- a/hw/xfree86/common/xf86Xinput.c
> +++ b/hw/xfree86/common/xf86Xinput.c
> @@ -686,12 +686,6 @@ xf86DeleteInput(InputInfoPtr pInp, int flags)
>      if (pInp == NULL)
>  	return;
>  
> -#if 0
> -    /* If a free function is defined, call it here. */
> -    if (pInp->free)
> -	pInp->free(pInp, 0);
> -#endif
> -
>      if (pInp->module)
>  	UnloadModule(pInp->module);
>  
> -- 
> 1.7.2.2
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


More information about the xorg-devel mailing list