]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: do not call efi_runtime_detach twice
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 14 Aug 2019 04:49:09 +0000 (06:49 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 15 Aug 2019 18:33:10 +0000 (20:33 +0200)
commite3f20504f70077a9322495abb2ccd5b6bbe4ebaf
treefa6e197798c7bd6e348b05e54cd12bc0c73e138e
parentd8518ca4ef22674c664699d4470b494e44609842
efi_loader: do not call efi_runtime_detach twice

Commit ecae89e44d22 ("efi_loader: detach runtime in ExitBootServices()")
added a call to efi_runtime_detach() to ExitBootServices() but did not
remove the call in SetVirtualAddressMap().

Remove the superfluous function call.

Correct a comment referring to efi_runtime_detach().

Fixes: ecae89e44d22 ("efi_loader: detach runtime in ExitBootServices()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_runtime.c