mirror of https://github.com/acidanthera/audk.git
ArmPkg/SmbiosMiscDxe: Remove redundant updates in SMBIOS Type 2
This patch removes redundant updates of "BoardManufacturerType02" and "SerialNumberType02". Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com> Reviewed-by: Rebecca Cran <rebecca@quicinc.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Acked-by: Leif Lindholm <quic_llindhol@quicinc.com>
This commit is contained in:
parent
7d74ea141e
commit
e5eb0e3347
|
@ -120,16 +120,6 @@ SMBIOS_MISC_TABLE_FUNCTION (MiscBaseBoardManufacturer) {
|
||||||
STRING_TOKEN (STR_MISC_BASE_BOARD_SERIAL_NUMBER),
|
STRING_TOKEN (STR_MISC_BASE_BOARD_SERIAL_NUMBER),
|
||||||
SerialNumberType02
|
SerialNumberType02
|
||||||
);
|
);
|
||||||
OemUpdateSmbiosInfo (
|
|
||||||
mSmbiosMiscHiiHandle,
|
|
||||||
STRING_TOKEN (STR_MISC_BASE_BOARD_MANUFACTURER),
|
|
||||||
BoardManufacturerType02
|
|
||||||
);
|
|
||||||
OemUpdateSmbiosInfo (
|
|
||||||
mSmbiosMiscHiiHandle,
|
|
||||||
STRING_TOKEN (STR_MISC_BASE_BOARD_SERIAL_NUMBER),
|
|
||||||
SerialNumberType02
|
|
||||||
);
|
|
||||||
OemUpdateSmbiosInfo (
|
OemUpdateSmbiosInfo (
|
||||||
mSmbiosMiscHiiHandle,
|
mSmbiosMiscHiiHandle,
|
||||||
STRING_TOKEN (STR_MISC_BASE_BOARD_SKU_NUMBER),
|
STRING_TOKEN (STR_MISC_BASE_BOARD_SKU_NUMBER),
|
||||||
|
|
Loading…
Reference in New Issue