diff options
author | Matt Fleming <matt.fleming@intel.com> | 2014-01-10 13:01:39 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-03-04 21:24:59 +0000 |
commit | 099240ac111aac454962e6399c0cc51d1511504a (patch) | |
tree | 8260e2544cd309c5898da9308100fe136c39fc21 /drivers/net/nlmon.c | |
parent | 426e34cc4f6094cefe4f3175764cdf583128e7cd (diff) | |
download | op-kernel-dev-099240ac111aac454962e6399c0cc51d1511504a.zip op-kernel-dev-099240ac111aac454962e6399c0cc51d1511504a.tar.gz |
x86/efi: Delete dead code when checking for non-native
Both efi_free_boot_services() and efi_enter_virtual_mode() are invoked
from init/main.c, but only if the EFI runtime services are available.
This is not the case for non-native boots, e.g. where a 64-bit kernel is
booted with 32-bit EFI firmware.
Delete the dead code.
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/net/nlmon.c')
0 files changed, 0 insertions, 0 deletions