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)
commit518548abd61808ea1e31614ccbdae34d3c32dfa4
tree194de8fb84969924942299ed5ea5cfe20256f05e
parent77ea8c948953a90401e436e7c05973b2d5529804
x86/efi: Delete superfluous global variables

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