summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/pi/00630F01
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-12-13 15:40:26 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-12-14 18:02:40 +0100
commit0f01c09ef19bb266df2443636cebb57c70cb4f49 (patch)
tree7242b6c115ff23c8ba3696d3246855c47dc3ff2f /src/vendorcode/amd/pi/00630F01
parent83f75bfeb93194e1a41a7c69431f5249cc04b4e8 (diff)
vendorcode/amd: drop dead code
Change-Id: Ie67e1f7887e8df497d7dfd956badd9e06fd5d8a3 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Found-by: Coverity Scan #1254651 Reviewed-on: https://review.coreboot.org/17833 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/vendorcode/amd/pi/00630F01')
-rw-r--r--src/vendorcode/amd/pi/00630F01/binaryPI/AGESA.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vendorcode/amd/pi/00630F01/binaryPI/AGESA.c b/src/vendorcode/amd/pi/00630F01/binaryPI/AGESA.c
index c207d67506..ce1b5d9df8 100644
--- a/src/vendorcode/amd/pi/00630F01/binaryPI/AGESA.c
+++ b/src/vendorcode/amd/pi/00630F01/binaryPI/AGESA.c
@@ -368,13 +368,8 @@ AmdIdsRunApTaskLate (
IN AP_EXE_PARAMS *AmdApExeParams
)
{
- MODULE_ENTRY Dispatcher = NULL;
- const AMD_MODULE_HEADER* module = agesawrapper_locate_module(ModuleIdentifier);
AmdApExeParams->StdHeader.Func = -1;
return AGESA_UNSUPPORTED;
- if (!module) return AGESA_UNSUPPORTED;
- Dispatcher = module->ModuleDispatcher;
- return Dispatcher(AmdApExeParams);
}
/**********************************************************************