[Spice-devel] [PATCH spice-server] test-display-base: Do not use obsolete set_mm_time callback

Uri Lublin uril at redhat.com
Wed Jan 10 15:31:30 UTC 2018


On 01/10/2018 10:51 AM, Frediano Ziglio wrote:
> Marked as obsolete with clang and some options is detected as
> error.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>

Acked-by: Uri Lublin <uril at redhat.com>


> ---
>   server/tests/test-display-base.c | 6 ------
>   1 file changed, 6 deletions(-)
> 
> diff --git a/server/tests/test-display-base.c b/server/tests/test-display-base.c
> index 220c1fd82..c74a2289b 100644
> --- a/server/tests/test-display-base.c
> +++ b/server/tests/test-display-base.c
> @@ -445,11 +445,6 @@ static void set_compression_level(SPICE_GNUC_UNUSED QXLInstance *qin,
>       printf("%s\n", __func__);
>   }
>   
> -static void set_mm_time(SPICE_GNUC_UNUSED QXLInstance *qin,
> -                        SPICE_GNUC_UNUSED uint32_t mm_time)
> -{
> -}
> -
>   // we now have a secondary surface
>   #define MAX_SURFACE_NUM 2
>   
> @@ -813,7 +808,6 @@ static QXLInterface display_sif = {
>       },
>       .attache_worker = attache_worker,
>       .set_compression_level = set_compression_level,
> -    .set_mm_time = set_mm_time,
>       .get_init_info = get_init_info,
>   
>       /* the callbacks below are called from spice server thread context */
> 



More information about the Spice-devel mailing list