summaryrefslogtreecommitdiff
path: root/src/cpu/x86/smm
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-19 21:48:59 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:20:30 +0000
commit99e0c7ddc1004b69df65483c029ee8915650223a (patch)
tree0f90917eb85c669c7d8e5ece7782f73c91c54bd2 /src/cpu/x86/smm
parentb6265139c7b0e1dfc1706ba896349e59d62a069d (diff)
src/cpu: Drop unneeded empty lines
Change-Id: I116b15c83fcc5d69d3f80a2e6cf0fb085064d9a6 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44604 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/cpu/x86/smm')
-rw-r--r--src/cpu/x86/smm/smm_module_handler.c2
-rw-r--r--src/cpu/x86/smm/smm_module_loaderv2.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/cpu/x86/smm/smm_module_handler.c b/src/cpu/x86/smm/smm_module_handler.c
index d987ddc476..3ba5684f35 100644
--- a/src/cpu/x86/smm/smm_module_handler.c
+++ b/src/cpu/x86/smm/smm_module_handler.c
@@ -69,7 +69,6 @@ static void smi_set_eos(void)
southbridge_smi_set_eos();
}
-
static u32 pci_orig;
/**
@@ -88,7 +87,6 @@ static void smi_restore_pci_address(void)
outl(pci_orig, 0xcf8);
}
-
static const struct smm_runtime *smm_runtime;
struct global_nvs *gnvs;
diff --git a/src/cpu/x86/smm/smm_module_loaderv2.c b/src/cpu/x86/smm/smm_module_loaderv2.c
index 10cc6281f7..22f336ec8d 100644
--- a/src/cpu/x86/smm/smm_module_loaderv2.c
+++ b/src/cpu/x86/smm/smm_module_loaderv2.c
@@ -590,7 +590,6 @@ int smm_load_module(void *smram, size_t size, struct smm_loader_params *params)
fxsave_area = NULL;
}
-
handler_size = rmodule_memory_size(&smm_mod);
base -= handler_size;
total_size += handler_size;