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

walter harms wharms at bfs.de
Fri Jun 26 01:00:30 PDT 2015



Am 26.06.2015 01:51, schrieb Dave Airlie:
> From: Dave Airlie <airlied at redhat.com>
> 
> this isn't used anywhere here.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  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;


More information about the xorg-devel mailing list