From 8a62f277d8840e487b01a67ccdcf09ea4242d4fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Tue, 10 Mar 2020 00:10:08 +0100 Subject: [PATCH] [NTOS:KD] Remove useless implementation of BREAKPOINT_PRINT in KdSystemDebugControl This is (as expected) handled in KdpTrap(), which also calls KdpPrint(). --- ntoskrnl/kd64/kdapi.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ntoskrnl/kd64/kdapi.c b/ntoskrnl/kd64/kdapi.c index 9d4a96631f4..f2c07de2f21 100644 --- a/ntoskrnl/kd64/kdapi.c +++ b/ntoskrnl/kd64/kdapi.c @@ -2167,21 +2167,6 @@ KdSystemDebugControl( /* Handle some internal commands */ switch ((ULONG)Command) { -#ifndef _WINKD_ - case BREAKPOINT_PRINT: /* DbgPrint */ - { - /* Call KDBG */ - BOOLEAN Handled; - return KdpPrint(MAXULONG, - DPFLTR_INFO_LEVEL, - (PCHAR)InputBuffer, - (USHORT)InputBufferLength, - PreviousMode, - NULL, // TrapFrame, - NULL, // ExceptionFrame, - &Handled); - } -#endif #if DBG case ' soR': /* ROS-INTERNAL */ {