[PATCH 02/16] xf86Rotate: remove unused macros.

Aaron Plattner aplattner at nvidia.com
Fri Jun 26 14:41:14 PDT 2015


On 06/25/2015 04:51 PM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> These macros aren't used anywhere.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  hw/xfree86/modes/xf86Rotate.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/hw/xfree86/modes/xf86Rotate.c b/hw/xfree86/modes/xf86Rotate.c
> index 9c00a44..01cc764 100644
> --- a/hw/xfree86/modes/xf86Rotate.c
> +++ b/hw/xfree86/modes/xf86Rotate.c
> @@ -44,11 +44,6 @@
>  #include "X11/Xatom.h"
>  
>  /* borrowed from composite extension, move to Render and publish? */

Does this comment apply to those macros?

> -
> -#define F(x)	IntToxFixed(x)
> -
> -#define toF(x)	((float) (x) / 65536.0f)
> -
>  static void
>  xf86RotateCrtcRedisplay(xf86CrtcPtr crtc, RegionPtr region)
>  {
> 


-- 
Aaron


More information about the xorg-devel mailing list