summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c')
-rw-r--r--MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
index 5621efd..f0e07ec 100644
--- a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
+++ b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c
@@ -1,5 +1,5 @@
/** @file
- The platform device manager reference implement
+ The platform device manager reference implementation
Copyright (c) 2004 - 2008, Intel Corporation. <BR>
All rights reserved. This program and the accompanying materials
@@ -44,7 +44,6 @@ DEVICE_MANAGER_MENU_ITEM mDeviceManagerMenuItemTable[] = {
Formset. The decision by user is saved to gCallbackKey for later processing. If
user set VBIOS, the new value is saved to EFI variable.
-
@param This Points to the EFI_HII_CONFIG_ACCESS_PROTOCOL.
@param Action Specifies the type of action taken by the browser.
@param QuestionId A unique value which is sent to the original exporting driver
@@ -163,7 +162,6 @@ InitializeDeviceManager (
}
/**
-
Call the browser and display the device manager to allow user
to configure the platform.
@@ -171,7 +169,7 @@ InitializeDeviceManager (
section header for all class of devices, one-of opcode to set VBIOS.
@retval EFI_SUCCESS Operation is successful.
- @retval Other values if failed to clean up the dynamic content from HII
+ @return Other values if failed to clean up the dynamic content from HII
database.
**/
@@ -306,7 +304,7 @@ CallDeviceManager (
&gEfiGenericPlatformVariableGuid,
&VideoOptionSize
);
- if (NULL == VideoOption) {
+ if (VideoOption == NULL) {
gDeviceManagerPrivate.VideoBios = 0;
} else {
gDeviceManagerPrivate.VideoBios = VideoOption[0];