diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-01 20:14:18 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-01 20:14:18 +0000 |
commit | 8b35a9caa4f72151b585e17de3aa779d59940a4b (patch) | |
tree | 1b88e29f417b3a9c18e294c36416368229fa1329 /IntelFrameworkModulePkg/Bus/Isa | |
parent | 0ca9ea41f9f0d538ce90b8d9475452f44eee1b7d (diff) | |
download | edk2-platforms-8b35a9caa4f72151b585e17de3aa779d59940a4b.tar.xz |
Remove unnecessary use of gEfiStatusCodeSpecificDataGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8429 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Isa')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBus.c | 16 | ||||
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf | 3 |
2 files changed, 0 insertions, 19 deletions
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,21 +208,9 @@ 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
//
Status = gBS->OpenProtocol (
@@ -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
|