[Spice-devel] [PATCH spice] server: Remove an unused structure.

Jonathon Jongsma jjongsma at redhat.com
Wed May 27 08:29:52 PDT 2015


In addition, the name has a typo :)

ACK

On Wed, 2015-05-27 at 16:21 +0200, Francois Gouget wrote:
> ---
> 
> This struct was introduced in the first commit, c1b79eb0, about 6 years 
> ago, but has never been used. So I think it's safe to remove.
> 
>  server/red_dispatcher.c | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/server/red_dispatcher.c b/server/red_dispatcher.c
> index e8a1347..9d02d20 100644
> --- a/server/red_dispatcher.c
> +++ b/server/red_dispatcher.c
> @@ -69,16 +69,6 @@ struct RedDispatcher {
>      QXLDevSurfaceCreate surface_create;
>  };
>  
> -typedef struct RedWorkeState {
> -    uint8_t *io_base;
> -    unsigned long phys_delta;
> -
> -    uint32_t x_res;
> -    uint32_t y_res;
> -    uint32_t bits;
> -    uint32_t stride;
> -} RedWorkeState;
> -
>  extern uint32_t streaming_video;
>  extern spice_image_compression_t image_compression;
>  extern spice_wan_compression_t jpeg_state;




More information about the Spice-devel mailing list