mirror of
https://github.com/reactos/reactos.git
synced 2025-08-09 05:23:09 +00:00
[FREELDR] Remove unnecessary checks. CORE-14280
This commit is contained in:
parent
79ea0ae09e
commit
4d811a2f97
2 changed files with 1 additions and 3 deletions
|
@ -112,8 +112,6 @@ HalpCalibrateStallExecution(VOID)
|
||||||
|
|
||||||
/* Stage 1: Coarse calibration */
|
/* Stage 1: Coarse calibration */
|
||||||
|
|
||||||
WaitFor8254Wraparound();
|
|
||||||
|
|
||||||
delay_count = 1;
|
delay_count = 1;
|
||||||
|
|
||||||
do
|
do
|
||||||
|
|
|
@ -343,7 +343,7 @@ DetectSerialMouse(PUCHAR Port)
|
||||||
TimeOut = 200;
|
TimeOut = 200;
|
||||||
for (i = 0; i < 4; i++)
|
for (i = 0; i < 4; i++)
|
||||||
{
|
{
|
||||||
while (((READ_PORT_UCHAR(Port + 5) & 1) == 0) && (TimeOut > 0))
|
while ((READ_PORT_UCHAR(Port + 5) & 1) == 0)
|
||||||
{
|
{
|
||||||
StallExecutionProcessor(1000);
|
StallExecutionProcessor(1000);
|
||||||
--TimeOut;
|
--TimeOut;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue