Re: [spice-server PATCH] Remove unused structs QXLDrawArea and QXLDevInfo

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

 



> 
> Signed-off-by: Uri Lublin <uril@xxxxxxxxxx>

Nice catch.
I would add some comments as this is changing also a public header.

The structure usage was removed from commit 2ba69f9f8819daaa3d166c4c1c7e03b121b88a95
("libspice: add surface 0 support").
Was never used by Qemu.

> ---
>  server/spice-qxl.h | 20 --------------------
>  1 file changed, 20 deletions(-)
> 
> diff --git a/server/spice-qxl.h b/server/spice-qxl.h
> index 04c657c58..0c4e75fc2 100644
> --- a/server/spice-qxl.h
> +++ b/server/spice-qxl.h
> @@ -115,26 +115,6 @@ void spice_qxl_gl_draw_async(QXLInstance *instance,
>                               uint32_t w, uint32_t h,
>                               uint64_t cookie);
>  
> -typedef struct QXLDrawArea {
> -    uint8_t *buf;
> -    uint32_t size;
> -    uint8_t *line_0;
> -    uint32_t width;
> -    uint32_t heigth;
> -    int stride;
> -} QXLDrawArea;
> -
> -typedef struct QXLDevInfo {
> -    uint32_t x_res;
> -    uint32_t y_res;
> -    uint32_t bits;
> -    uint32_t use_hardware_cursor;
> -
> -    QXLDrawArea draw_area;
> -
> -    uint32_t ram_size;
> -} QXLDevInfo;
> -
>  typedef struct QXLDevInitInfo {
>      uint32_t num_memslots_groups;
>      uint32_t num_memslots;

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




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