diff --git a/server/tests/test-display-no-ssl.c b/server/tests/test-display-no-ssl.c index 97673c99..6555623a 100644 --- a/server/tests/test-display-no-ssl.c +++ b/server/tests/test-display-no-ssl.c @@ -30,15 +30,10 @@ SpiceCoreInterface *core; SpiceTimer *ping_timer; -void show_channels(SpiceServer *server); - int ping_ms = 100; static void pinger(SPICE_GNUC_UNUSED void *opaque) { - // show_channels is not thread safe - fails if disconnections / connections occur - //show_channels(server); - core->timer_start(ping_timer, ping_ms); } diff --git a/server/tests/test-display-resolution-changes.c b/server/tests/test-display-resolution-changes.c index 2619a1ca..14036b8c 100644 --- a/server/tests/test-display-resolution-changes.c +++ b/server/tests/test-display-resolution-changes.c @@ -26,15 +26,11 @@ SpiceTimer *ping_timer; -void show_channels(SpiceServer *server); - int ping_ms = 100; static void pinger(void *opaque) { Test *test = opaque; - // show_channels is not thread safe - fails if disconnections / connections occur - //show_channels(server); test->core->timer_start(ping_timer, ping_ms); } diff --git a/server/tests/test-display-width-stride.c b/server/tests/test-display-width-stride.c index 6bf54f1d..fb4bea48 100644 --- a/server/tests/test-display-width-stride.c +++ b/server/tests/test-display-width-stride.c @@ -26,15 +26,11 @@ SpiceTimer *ping_timer; -void show_channels(SpiceServer *server); - int ping_ms = 100; static void pinger(void *opaque) { Test *test = opaque; - // show_channels is not thread safe - fails if disconnections / connections occur - //show_channels(server); test->core->timer_start(ping_timer, ping_ms); } diff --git a/server/tests/test-vdagent.c b/server/tests/test-vdagent.c index 232e9824..01308d0d 100644 --- a/server/tests/test-vdagent.c +++ b/server/tests/test-vdagent.c @@ -29,11 +29,6 @@ #include "test-display-base.h" #include "test-glib-compat.h" -SpiceCoreInterface *core; -SpiceTimer *ping_timer; - -int ping_ms = 100; - #ifndef MIN #define MIN(a, b) ((a) > (b) ? (b) : (a)) #endif