1) Use FeatureFlag PcdPciBusHotplugDeviceSupport to merge LightPciLib.c with PcdLib.c.
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / IdeBus / Dxe / DriverConfiguration.c
index dfe134a..75794f8 100644 (file)
@@ -161,7 +161,6 @@ IDEBusDriverConfigurationSetOptions (
   UINT8       NewValue;\r
   UINTN       DataSize;\r
   UINTN       Index;\r
-  UINT32      Attributes;\r
 \r
   if (ChildHandle != NULL) {\r
     return EFI_UNSUPPORTED;\r
@@ -173,7 +172,7 @@ IDEBusDriverConfigurationSetOptions (
   Status = gRT->GetVariable (\r
                   L"Configuration",\r
                   &gEfiCallerIdGuid,\r
-                  &Attributes,\r
+                  NULL,\r
                   &DataSize,\r
                   &Value\r
                   );\r
@@ -255,7 +254,6 @@ IDEBusDriverConfigurationOptionsValid (
   EFI_STATUS  Status;\r
   UINT8       Value;\r
   UINTN       DataSize;\r
-  UINT32      Attributes;\r
 \r
   if (ChildHandle != NULL) {\r
     return EFI_UNSUPPORTED;\r
@@ -265,7 +263,7 @@ IDEBusDriverConfigurationOptionsValid (
   Status = gRT->GetVariable (\r
                   L"Configuration",\r
                   &gEfiCallerIdGuid,\r
-                  &Attributes,\r
+                  NULL,\r
                   &DataSize,\r
                   &Value\r
                   );\r