[Spice-devel] [PATCH spice-server 05/10] replay: Do not use obsolete set_mm_time callback

Frediano Ziglio fziglio at redhat.com
Mon Jan 22 17:54:57 UTC 2018


Marked as obsolete with clang and some options is detected as
error.

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 server/tests/replay.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/server/tests/replay.c b/server/tests/replay.c
index 0ceb7271..137f0606 100644
--- a/server/tests/replay.c
+++ b/server/tests/replay.c
@@ -91,10 +91,6 @@ static void set_compression_level(QXLInstance *qin, int level)
     g_debug("%s\n", __func__);
 }
 
-static void set_mm_time(QXLInstance *qin, uint32_t mm_time)
-{
-}
-
 // same as qemu/ui/spice-display.h
 #define MAX_SURFACE_NUM 1024
 
@@ -256,7 +252,6 @@ static QXLInterface display_sif = {
     },
     .attache_worker = attach_worker,
     .set_compression_level = set_compression_level,
-    .set_mm_time = set_mm_time,
     .get_init_info = get_init_info,
     .get_command = get_display_command,
     .req_cmd_notification = req_display_notification,
-- 
2.14.3



More information about the Spice-devel mailing list