From 8da92f56c79171931383d780e6f6a6c3e0f74ea7 Mon Sep 17 00:00:00 2001 From: "Hoppe, Mateusz" Date: Fri, 29 Sep 2023 09:04:05 +0000 Subject: [PATCH] refactor: code cleanup - remove not needed branch and message Signed-off-by: Hoppe, Mateusz --- .../execution_environment/root_device_environment.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/shared/source/execution_environment/root_device_environment.cpp b/shared/source/execution_environment/root_device_environment.cpp index 61c9f8543e..78a23bfc9a 100644 --- a/shared/source/execution_environment/root_device_environment.cpp +++ b/shared/source/execution_environment/root_device_environment.cpp @@ -56,11 +56,8 @@ void RootDeviceEnvironment::initAubCenter(bool localMemoryEnabled, const std::st } void RootDeviceEnvironment::initDebuggerL0(Device *neoDevice) { - if (this->debugger.get() != nullptr) { - NEO::printDebugString(NEO::DebugManager.flags.PrintDebugMessages.get(), stderr, - "%s", "Source Level Debugger cannot be used with Environment Variable enabling program debugging.\n"); - UNRECOVERABLE_IF(this->debugger.get() != nullptr); - } + + DEBUG_BREAK_IF(this->debugger.get() != nullptr); this->getMutableHardwareInfo()->capabilityTable.fusedEuEnabled = false; this->getMutableHardwareInfo()->capabilityTable.ftrRenderCompressedBuffers = false;