From: Kevin O'Connor Date: Mon, 15 Aug 2016 02:07:19 +0000 (-0400) Subject: ps2: Remove stale check for timeout warning on reset X-Git-Tag: rel-1.10.0~21 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7bd1480a3bea4dae25d0bc866eb31a365fc2f77f;p=seabios.git ps2: Remove stale check for timeout warning on reset Commit 4ce5d207 removed the code to wait for a possible second byte from a keyboard reset command, but it did not remove the extra check when warning in ps2_recvbyte(). Remove the now stale code in ps2_recvbyte(). Signed-off-by: Kevin O'Connor --- diff --git a/src/hw/ps2port.c b/src/hw/ps2port.c index d5504f7..d9727d2 100644 --- a/src/hw/ps2port.c +++ b/src/hw/ps2port.c @@ -179,9 +179,7 @@ ps2_recvbyte(int aux, int needack, int timeout) } if (timer_check(end)) { - // Don't warn on second byte of a reset - if (timeout > 100) - warn_timeout(); + warn_timeout(); return -1; } yield();