https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c1a8dce23c2e6002186d6…
commit c1a8dce23c2e6002186d65cb4d7cfa064f9592a7
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Tue Jan 11 22:41:52 2022 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Tue Jan 11 22:45:14 2022 +0100
[CPORTLIB] Remove any usage of debug.h since this lib implements the support for said
debugging output.
---
sdk/lib/cportlib/cport.c | 7 ++-----
sdk/lib/cportlib/cport_pc98.c | 4 ----
2 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/sdk/lib/cportlib/cport.c b/sdk/lib/cportlib/cport.c
index 984dfe12b50..ab3c3af396f 100644
--- a/sdk/lib/cportlib/cport.c
+++ b/sdk/lib/cportlib/cport.c
@@ -30,14 +30,11 @@
/* INCLUDES *******************************************************************/
-#include <cportlib/cportlib.h>
-#include <drivers/serial/ns16550.h>
#include <intrin.h>
#include <ioaccess.h>
#include <ntstatus.h>
-
-#define NDEBUG
-#include <debug.h>
+#include <cportlib/cportlib.h>
+#include <drivers/serial/ns16550.h>
/* GLOBALS ********************************************************************/
diff --git a/sdk/lib/cportlib/cport_pc98.c b/sdk/lib/cportlib/cport_pc98.c
index 5973e71f9a7..2980c1d71ac 100644
--- a/sdk/lib/cportlib/cport_pc98.c
+++ b/sdk/lib/cportlib/cport_pc98.c
@@ -12,16 +12,12 @@
#include <intrin.h>
#include <ioaccess.h>
#include <ntstatus.h>
-#include <ntstatus.h>
#include <cportlib/cportlib.h>
#include <drivers/pc98/serial.h>
#include <drivers/pc98/sysport.h>
#include <drivers/pc98/pit.h>
#include <drivers/pc98/cpu.h>
-#define NDEBUG
-#include <debug.h>
-
/* GLOBALS ********************************************************************/
#define TIMEOUT_COUNT 1024 * 200