diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-07-07 23:39:13 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2018-07-25 15:00:24 +0200 |
commit | 197005ae2a78f14e02d44096c3ecb59b921c0467 (patch) | |
tree | 3dda59a27f1bb88f0307488a1ee5beed23ae3690 /cmd | |
parent | 5d889024010e0d2397c2bd3e6dd66e12e9f657d0 (diff) |
efi_loader: remove unused efi_get_time_init()
Remove unused function efi_get_time_init().
Initialization of the RTC has to be done in board bring up not in the EFI
subsystem.
There is no RTC device in the UEFI spec. The RTC is only accessed through
the runtime services.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/bootefi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c index e57e70fc61..b60c151fb4 100644 --- a/cmd/bootefi.c +++ b/cmd/bootefi.c @@ -90,9 +90,6 @@ efi_status_t efi_init_obj_list(void) ret = efi_reset_system_init(); if (ret != EFI_SUCCESS) goto out; - ret = efi_get_time_init(); - if (ret != EFI_SUCCESS) - goto out; out: efi_obj_list_initialized = ret; |