mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
There's no need / benefit from deleting the variable before we set it.
Sponsored by: Netflix
This commit is contained in:
parent
af9d0c273f
commit
cac7bbe16a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327611
|
@ -164,7 +164,6 @@ static int
|
|||
set_bootvar(const char *name, uint8_t *data, size_t size)
|
||||
{
|
||||
|
||||
efi_del_variable(EFI_GLOBAL_GUID, name);
|
||||
return efi_set_variable(EFI_GLOBAL_GUID, name, data, size,
|
||||
COMMON_ATTRS);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue