efi/x86: Merge assignments of efi.runtime_version
authorArd Biesheuvel <ardb@kernel.org>
Mon, 20 Jan 2020 17:35:17 +0000 (18:35 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sun, 23 Feb 2020 20:59:42 +0000 (21:59 +0100)
commit09308012d8546dda75e96c02bed19e2ba1e875fd
tree84979cdb3c00300efa9b0a233f7bc9fb2df4b2b5
parent9cd437ac0ef4f324a92e2579784b03bb487ae7fb
efi/x86: Merge assignments of efi.runtime_version

efi.runtime_version is always set to the same value on both
existing code paths, so just set it earlier from a shared one.

Tested-by: Tony Luck <tony.luck@intel.com> # arch/ia64
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/platform/efi/efi.c