Re: [spice-server PATCH v1 6/12] red_parse_qxl: remove unused variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> ---
>  server/red_parse_qxl.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/server/red_parse_qxl.c b/server/red_parse_qxl.c
> index 07c3cac..5b1befa 100644
> --- a/server/red_parse_qxl.c
> +++ b/server/red_parse_qxl.c
> @@ -362,10 +362,6 @@ static int bitmap_consistent(SpiceBitmap *bitmap)
>      return TRUE;
>  }
>  
> -// This is based on SPICE_BITMAP_FMT_*, copied from server/red_worker.c
> -// to avoid a possible unoptimization from making it non static.
> -static const int BITMAP_FMT_IS_RGB[] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1};
> -
>  static SpiceImage *red_get_image(RedMemSlotInfo *slots, int group_id,
>                                   QXLPHYSICAL addr, uint32_t flags, int
>                                   is_mask)
>  {
> --
> 2.4.3
> 

Acked

Frediano
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]