[PATCH 13/19] xfree86: remove XI_PRIVATE macro, unused.

Fernando Carrijo fcarrijo.lists at gmail.com
Tue Sep 7 19:09:43 PDT 2010


Peter Hutterer <peter.hutterer at who-t.net> wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  hw/xfree86/common/xf86Xinput.h |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/hw/xfree86/common/xf86Xinput.h b/hw/xfree86/common/xf86Xinput.h
> index a0791d1..499528e 100644
> --- a/hw/xfree86/common/xf86Xinput.h
> +++ b/hw/xfree86/common/xf86Xinput.h
> @@ -63,9 +63,6 @@
>  /* the device sends Xinput and core pointer events */
>  #define XI86_SEND_CORE_EVENTS	XI86_ALWAYS_CORE
>  
> -#define XI_PRIVATE(dev) \
> -	(((InputInfoPtr)((dev)->public.devicePrivate))->private)
> -

I see both xf86-input-aiptek and xf86-input-joystick using it.

I presume they don't count, do they? If they don't, then:

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

>  /* Valuator verification macro */
>  #define XI_VERIFY_VALUATORS(num_valuators)					\
>  	if (num_valuators > MAX_VALUATORS) {					\
> -- 
> 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