mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-30 07:01:32 +01:00
x86: Don't bother clearing global NVS
The bloblist guarantees that blobs are zeroed so there is no need to do an additional memset(). Drop it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
5019e201cc
commit
dc0791d415
@ -202,7 +202,6 @@ int southbridge_inject_dsdt(const struct udevice *dev, struct acpi_ctx *ctx)
|
|||||||
(void **)&gnvs);
|
(void **)&gnvs);
|
||||||
if (ret)
|
if (ret)
|
||||||
return log_msg_ret("bloblist", ret);
|
return log_msg_ret("bloblist", ret);
|
||||||
memset(gnvs, '\0', sizeof(*gnvs));
|
|
||||||
|
|
||||||
ret = acpi_create_gnvs(gnvs);
|
ret = acpi_create_gnvs(gnvs);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user