///\r
GLOBAL_REMOVE_IF_UNREFERENCED\r
EFI_COMPONENT_NAME_PROTOCOL gHttpBootDxeComponentName = {\r
- (EFI_COMPONENT_NAME_GET_DRIVER_NAME) HttpBootDxeComponentNameGetDriverName,\r
+ (EFI_COMPONENT_NAME_GET_DRIVER_NAME)HttpBootDxeComponentNameGetDriverName,\r
(EFI_COMPONENT_NAME_GET_CONTROLLER_NAME)HttpBootDxeComponentNameGetControllerName,\r
"eng"\r
};\r
/// Table of driver names\r
///\r
GLOBAL_REMOVE_IF_UNREFERENCED\r
-EFI_UNICODE_STRING_TABLE mHttpBootDxeDriverNameTable[] = {\r
+EFI_UNICODE_STRING_TABLE mHttpBootDxeDriverNameTable[] = {\r
{ "eng;en", (CHAR16 *)L"UEFI HTTP Boot Driver" },\r
- { NULL, NULL }\r
+ { NULL, NULL }\r
};\r
\r
///\r
/// Table of controller names\r
///\r
GLOBAL_REMOVE_IF_UNREFERENCED\r
-EFI_UNICODE_STRING_TABLE mHttpBootDxeControllerNameTable[] = {\r
+EFI_UNICODE_STRING_TABLE mHttpBootDxeControllerNameTable[] = {\r
{ "eng;en", (CHAR16 *)L"UEFI Http Boot Controller" },\r
- { NULL, NULL }\r
+ { NULL, NULL }\r
};\r
\r
/**\r
This->SupportedLanguages,\r
mHttpBootDxeDriverNameTable,\r
DriverName,\r
- (BOOLEAN) (This != &gHttpBootDxeComponentName2)\r
+ (BOOLEAN)(This != &gHttpBootDxeComponentName2)\r
);\r
}\r
\r
OUT CHAR16 **ControllerName\r
)\r
{\r
- EFI_STATUS Status;\r
- EFI_HANDLE NicHandle;\r
- UINT32 *Id;\r
+ EFI_STATUS Status;\r
+ EFI_HANDLE NicHandle;\r
+ UINT32 *Id;\r
\r
- if (ControllerHandle == NULL || ChildHandle != NULL) {\r
+ if ((ControllerHandle == NULL) || (ChildHandle != NULL)) {\r
return EFI_UNSUPPORTED;\r
}\r
\r
NicHandle = HttpBootGetNicByIp4Children (ControllerHandle);\r
if (NicHandle == NULL) {\r
- NicHandle = HttpBootGetNicByIp6Children(ControllerHandle);\r
+ NicHandle = HttpBootGetNicByIp6Children (ControllerHandle);\r
if (NicHandle == NULL) {\r
return EFI_UNSUPPORTED;\r
}\r
Status = gBS->OpenProtocol (\r
NicHandle,\r
&gEfiCallerIdGuid,\r
- (VOID **) &Id,\r
+ (VOID **)&Id,\r
NULL,\r
NULL,\r
EFI_OPEN_PROTOCOL_GET_PROTOCOL\r
ControllerName,\r
(BOOLEAN)(This != &gHttpBootDxeComponentName2)\r
);\r
-\r
}\r