Re: [PATCH 14/16] modesetting: drop unused struct in vblank.c

2015-06-26 Thread walter harms


Am 26.06.2015 01:51, schrieb Dave Airlie:
> From: Dave Airlie 
> 
> this isn't used anywhere here.
> 
> Signed-off-by: Dave Airlie 
> ---
>  hw/xfree86/drivers/modesetting/vblank.c | 5 -
>  1 file changed, 5 deletions(-)
> 
> diff --git a/hw/xfree86/drivers/modesetting/vblank.c 
> b/hw/xfree86/drivers/modesetting/vblank.c
> index 776dcef..0b7bf9d 100644
> --- a/hw/xfree86/drivers/modesetting/vblank.c
> +++ b/hw/xfree86/drivers/modesetting/vblank.c
> @@ -50,11 +50,6 @@
>  static struct xorg_list ms_drm_queue;
>  static uint32_t ms_drm_seq;
>  
> -struct ms_pageflip {
> -ScreenPtr screen;
> -Bool crtc_for_msc_ust;
> -};
> -

looks like max(a,b). Is there a macro somewhere that does the same ?

re,
 wh

>  static void ms_box_intersect(BoxPtr dest, BoxPtr a, BoxPtr b)
>  {
>  dest->x1 = a->x1 > b->x1 ? a->x1 : b->x1;
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

[PATCH 14/16] modesetting: drop unused struct in vblank.c

2015-06-25 Thread Dave Airlie
From: Dave Airlie 

this isn't used anywhere here.

Signed-off-by: Dave Airlie 
---
 hw/xfree86/drivers/modesetting/vblank.c | 5 -
 1 file changed, 5 deletions(-)

diff --git a/hw/xfree86/drivers/modesetting/vblank.c 
b/hw/xfree86/drivers/modesetting/vblank.c
index 776dcef..0b7bf9d 100644
--- a/hw/xfree86/drivers/modesetting/vblank.c
+++ b/hw/xfree86/drivers/modesetting/vblank.c
@@ -50,11 +50,6 @@
 static struct xorg_list ms_drm_queue;
 static uint32_t ms_drm_seq;
 
-struct ms_pageflip {
-ScreenPtr screen;
-Bool crtc_for_msc_ust;
-};
-
 static void ms_box_intersect(BoxPtr dest, BoxPtr a, BoxPtr b)
 {
 dest->x1 = a->x1 > b->x1 ? a->x1 : b->x1;
-- 
2.4.3

___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel