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@redhat.com>
Acked-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
Frediano Ziglio 2018-01-10 08:46:22 +00:00
parent 6c416f5098
commit 55e4211456

View File

@ -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 */