The call is unnecessary, since "thread" is already set at creation time. Furthermore, the "thread" field is mostly useless as the thread is created DETACHED and isn't used for anything but perhaps debugging.
Signed-off-by: Marc-André Lureau <[email protected]> --- ui/vnc-jobs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/vnc-jobs.c b/ui/vnc-jobs.c index ae925171fae..0523e52cbd2 100644 --- a/ui/vnc-jobs.c +++ b/ui/vnc-jobs.c @@ -349,8 +349,6 @@ static void *vnc_worker_thread(void *arg) { VncJobQueue *queue = arg; - qemu_thread_get_self(&queue->thread); - while (!vnc_worker_thread_loop(queue)) ; g_assert_not_reached(); return NULL; -- 2.53.0
