x86/efi: Delete superfluous global variables
authorMatt Fleming <matt.fleming@intel.com>
Sat, 21 Dec 2013 16:09:46 +0000 (16:09 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Sun, 29 Dec 2013 13:09:08 +0000 (13:09 +0000)
There's no need to save the runtime map details in global variables, the
values are only required to pass to efi_runtime_map_setup().

And because 'nr_efi_runtime_map' isn't needed, get_nr_runtime_map() can
be deleted along with 'efi_data_len'.

Cc: Dave Young <dyoung@redhat.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/platform/efi/efi.c
arch/x86/platform/efi/efi_64.c

Simple merge
Simple merge