From 1484a9eabd666e6cf18a68d38336359e889cc9f8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 21 Mar 2019 17:22:29 +0100 Subject: [PATCH] WindowServer: Remove some old commented-out code. --- Servers/WindowServer/WSMessageLoop.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Servers/WindowServer/WSMessageLoop.cpp b/Servers/WindowServer/WSMessageLoop.cpp index 923fb491ce..f4eef37544 100644 --- a/Servers/WindowServer/WSMessageLoop.cpp +++ b/Servers/WindowServer/WSMessageLoop.cpp @@ -249,12 +249,6 @@ void WSMessageLoop::notify_client_disconnected(int client_id) void WSMessageLoop::on_receive_from_client(int client_id, const WSAPI_ClientMessage& message) { -#if 0 - // FIXME: This should not be necessary.. why is this necessary? - while (!running()) - sched_yield(); -#endif - WSClientConnection& client = *WSClientConnection::from_client_id(client_id); switch (message.type) { case WSAPI_ClientMessage::Type::Greeting: