Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/50784 )
Change subject: cpu/x86/smm_loaderv2: Remove unused variable ......................................................................
cpu/x86/smm_loaderv2: Remove unused variable
This variable is assigned but not used.
Change-Id: I5d291a3464f30fc5d9f4b7233bde575010275973 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/cpu/x86/smm/smm_module_loaderv2.c 1 file changed, 0 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/50784/1
diff --git a/src/cpu/x86/smm/smm_module_loaderv2.c b/src/cpu/x86/smm/smm_module_loaderv2.c index 7a878b7..f58d146 100644 --- a/src/cpu/x86/smm/smm_module_loaderv2.c +++ b/src/cpu/x86/smm/smm_module_loaderv2.c @@ -330,7 +330,6 @@ { size_t total_save_state_size; size_t smm_stub_size; - size_t stub_entry_offset; char *smm_stub_loc; void *stacks_top; size_t size; @@ -382,7 +381,6 @@
smm_stub_loc = NULL; smm_stub_size = rmodule_memory_size(&smm_stub); - stub_entry_offset = rmodule_entry_offset(&smm_stub);
/* Put the stub at the main entry point */ smm_stub_loc = &base[params->smm_main_entry_offset];