[Spice-commits] server/tests

Frediano Ziglio fziglio at kemper.freedesktop.org
Wed Jan 10 15:50:51 UTC 2018


 server/tests/test-display-base.c |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 55e4211456b7757cc2842cf9b88d2d8440f89bf2
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Jan 10 08:46:22 2018 +0000

    test-display-base: Do not use obsolete set_mm_time callback
    
    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>

diff --git a/server/tests/test-display-base.c b/server/tests/test-display-base.c
index 220c1fd8..c74a2289 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-commits mailing list