diff --git a/hooklib/uart.c b/hooklib/uart.c index 7c6ecaf..93380c1 100644 --- a/hooklib/uart.c +++ b/hooklib/uart.c @@ -200,9 +200,6 @@ static HRESULT uart_handle_read(struct uart *uart, struct irp *irp) int requested = irp->read.nbytes; if (uart->readable.pos < requested && uart->readable.pos == 0) { - /* Avoid a tight polling loop which causes performance issues - and massive memory leaks. Simulate hardware I/O latency. */ - Sleep(1); return E_PENDING; }