summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Library/ReportStatusCodeLib.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/MdePkg/Include/Library/ReportStatusCodeLib.h b/MdePkg/Include/Library/ReportStatusCodeLib.h
index c2bf9e17fb..fe0f67cf19 100644
--- a/MdePkg/Include/Library/ReportStatusCodeLib.h
+++ b/MdePkg/Include/Library/ReportStatusCodeLib.h
@@ -366,21 +366,7 @@ ReportDebugCodeEnabled (
VOID
);
-#ifndef NDEBUG
-#if 0
-//#if __INTEL_COMPILER
-#define REPORT_STATUS_CODE(Type,Value) ReportStatusCode(Type,Value)
-#define REPORT_STATUS_CODE_WITH_DEVICE_PATH(Type,Value,DevicePathParameter) \
- ReportStatusCodeWithDevicePath(Type,Value,DevicePathParameter)
-
-#define REPORT_STATUS_CODE_WITH_EXTENDED_DATA(Type,Value,ExtendedData,ExtendedDataSize) \
- ReportStatusCodeWithExtendedData(Type,Value,ExtendedData,ExtendedDataSize)
-
-#define REPORT_STATUS_CODE_EX(Type,Value,Instance,CallerId,ExtendedDataGuid,ExtendedData,ExtendedDataSize) \
- ReportStatusCodeEx(Type,Value,Instance,CallerId,ExtendedDataGuid,ExtendedData,ExtendedDataSize)
-
-#else
/**
Reports a status code with minimal parameters if the status code type is enabled.
@@ -505,13 +491,5 @@ ReportDebugCodeEnabled (
(ReportDebugCodeEnabled() && ((Type) & EFI_STATUS_CODE_TYPE_MASK) == EFI_DEBUG_CODE) ? \
ReportStatusCodeEx(Type,Value,Instance,CallerId,ExtendedDataGuid,ExtendedData,ExtendedDataSize) : \
EFI_UNSUPPORTED
-#endif
-
-#else
-#define REPORT_STATUS_CODE(Type,Value) EFI_UNSUPPORTED
-#define REPORT_STATUS_CODE_WITH_DEVICE_PATH(Type,Value,DevicePathParameter) EFI_UNSUPPORTED
-#define REPORT_STATUS_CODE_WITH_EXTENDED_DATA(Type,Value,ExtendedData,ExtendedDataSize) EFI_UNSUPPORTED
-#define REPORT_STATUS_CODE_EX(Type,Value,Instance,CallerId,ExtendedDataGuid,ExtendedData,ExtendedDataSize) EFI_UNSUPPORTED
-#endif
#endif