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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

Acked-by: Uri Lublin <uril@xxxxxxxxxx>


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


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]