diff --git a/src/remote/xnet.cpp b/src/remote/xnet.cpp index 4e7be03abb..353c2e0a42 100644 --- a/src/remote/xnet.cpp +++ b/src/remote/xnet.cpp @@ -430,7 +430,6 @@ rem_port* XNET_connect(const TEXT* name, PACKET* packet, InterlockedExchange((LPLONG) &test_xnet_initialized, xnet_initialized); if (!test_xnet_initialized) { InterlockedExchange((LPLONG) &xnet_initialized, TRUE); - THD_mutex_init(&xnet_mutex); CurrentProcessId = GetCurrentProcessId(); gds__register_cleanup((FPTR_VOID_PTR) exit_handler, NULL); InterlockedExchange((LPLONG) &xnet_mutex_ready, (LONG) TRUE);