diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c index 80c942e289..c1d091514e 100644 --- a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c +++ b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c @@ -208,20 +208,8 @@ IsaBusControllerDriverStart ( // // Local variables declaration for StatusCode reporting // - EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA AllocFailExtendedData; EFI_DEVICE_PATH_PROTOCOL *DevicePathData; - // - // Initialize status code structure - // - AllocFailExtendedData.DataHeader.HeaderSize = sizeof (EFI_STATUS_CODE_DATA); - AllocFailExtendedData.DataHeader.Size = sizeof (EFI_RESOURCE_ALLOC_FAILURE_ERROR_DATA) - sizeof (EFI_STATUS_CODE_DATA); - CopyMem ( - &AllocFailExtendedData.DataHeader.Type, - &gEfiStatusCodeSpecificDataGuid, - sizeof (EFI_GUID) - ); - // // Open Device Path Protocol // @@ -358,7 +346,6 @@ IsaBusControllerDriverStart ( ParentDevicePath, ResourceList, &DevicePathData - //&AllocFailExtendedData.DevicePath ); if (EFI_ERROR (Status)) { @@ -381,9 +368,6 @@ IsaBusControllerDriverStart ( // // It's hard to tell which resource conflicts // - AllocFailExtendedData.Bar = 0; - AllocFailExtendedData.ReqRes = NULL; - AllocFailExtendedData.AllocRes = NULL; REPORT_STATUS_CODE_WITH_DEVICE_PATH ( EFI_ERROR_CODE, (EFI_IO_BUS_LPC | EFI_IOB_EC_RESOURCE_CONFLICT), diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf index a2bfdf94aa..5b27881bf0 100644 --- a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf +++ b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf @@ -60,9 +60,6 @@ UefiDriverEntryPoint DebugLib -[Guids] - gEfiStatusCodeSpecificDataGuid # ALWAYS_CONSUMED - [Protocols] gEfiIsaIoProtocolGuid # PROTOCOL BY_START gEfiIsaAcpiProtocolGuid # PROTOCOL TO_START