-/**@file\r
+/** @file\r
Translate the DataHub records via EFI_DATA_HUB_PROTOCOL to Smbios recorders \r
via EFI_SMBIOS_PROTOCOL.\r
\r
//\r
StructureNode = AllocateZeroPool (sizeof (SMBIOS_STRUCTURE_NODE));\r
\r
- if (!StructureNode) {\r
+ if (StructureNode == NULL) {\r
goto Done;\r
}\r
\r
// record data needs to be transformed to be filled into the field,\r
// so let the FieldFillingFunction do it.\r
//\r
- if (!(Conversion->FieldFillingFunction)) {\r
+ if (Conversion->FieldFillingFunction == NULL) {\r
//\r
// Invalid Conversion Table Entry\r
//\r
// Both field offset and field content are determined by\r
// FieldFillingFunction\r
//\r
- if (!(Conversion->FieldFillingFunction)) {\r
+ if (Conversion->FieldFillingFunction == NULL) {\r
//\r
// Invalid Conversion Table Entry\r
//\r
// FieldFillingFunction and the function accepts the whole data record\r
// including the data header\r
//\r
- if (!(Conversion->FieldFillingFunction)) {\r
+ if (Conversion->FieldFillingFunction == NULL) {\r
//\r
// Invalid Conversion Table Entry\r
//\r