Re: [spice-common PATCH] canvas_base: Remove redundant switch case block

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

 



On Mon, 2015-11-23 at 17:37 +0100, Lukas Venhoda wrote:
> ---
>  common/canvas_base.c | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/common/canvas_base.c b/common/canvas_base.c
> index 6f48340..6747465 100644
> --- a/common/canvas_base.c
> +++ b/common/canvas_base.c
> @@ -1147,10 +1147,7 @@ static pixman_image_t
> *canvas_get_image_internal(CanvasBase *canvas, SpiceImage
>          break;
>      }
>  #if defined(SW_CANVAS_CACHE)
> -    case SPICE_IMAGE_TYPE_LZ_PLT: {
> -        surface = canvas_get_lz(canvas, image, want_original);
> -        break;
> -    }
> +    case SPICE_IMAGE_TYPE_LZ_PLT:
>      case SPICE_IMAGE_TYPE_LZ_RGB: {
>          surface = canvas_get_lz(canvas, image, want_original);
>          break;

Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx>

and pushed, thanks

Pavel
_______________________________________________
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]