https://git.reactos.org/?p=reactos.git;a=commitdiff;h=75f188c20028fe5493ca8…
commit 75f188c20028fe5493ca827e8758e01eecfa36f6
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Nov 24 21:13:35 2019 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Nov 25 00:41:48 2019 +0100
[PCIX][BLUE] Don't hardcode values in KeDelayExecutionThread() call. Remove
deprecated code.
---
drivers/bus/pcix/power.c | 2 +-
drivers/setup/blue/blue.c | 8 --------
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/bus/pcix/power.c b/drivers/bus/pcix/power.c
index 323bd9553ed..8cac08f390c 100644
--- a/drivers/bus/pcix/power.c
+++ b/drivers/bus/pcix/power.c
@@ -88,7 +88,7 @@ PciStallForPowerChange(IN PPCI_PDO_EXTENSION PdoExtension,
/* Do a wait for the timeout specified instead */
Interval.QuadPart = -10 * TimeoutEntry;
Interval.QuadPart -= KeQueryTimeIncrement() - 1;
- KeDelayExecutionThread(0, 0, &Interval);
+ KeDelayExecutionThread(KernelMode, FALSE, &Interval);
}
}
diff --git a/drivers/setup/blue/blue.c b/drivers/setup/blue/blue.c
index 1403c19ef57..7aa4f9d5d2e 100644
--- a/drivers/setup/blue/blue.c
+++ b/drivers/setup/blue/blue.c
@@ -15,14 +15,6 @@
#define NDEBUG
#include <debug.h>
-// ROS Internal. Please deprecate.
-NTHALAPI
-BOOLEAN
-NTAPI
-HalQueryDisplayOwnership(
- VOID
-);
-
/* NOTES ******************************************************************/
/*
* [[character][attribute]][[character][attribute]]....