mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
efi_loader: rtc_mktime() called twice
Don't call rtc_mktime() twice with the same argument in efi_variable_authenticate(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
7a373e5435
commit
3a92f85f21
1 changed files with 1 additions and 1 deletions
|
@ -577,7 +577,7 @@ static efi_status_t efi_variable_authenticate(u16 *variable,
|
|||
}
|
||||
|
||||
/* finished checking */
|
||||
*time = rtc_mktime(&tm);
|
||||
*time = new_time;
|
||||
ret = EFI_SUCCESS;
|
||||
|
||||
err:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue