summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/pi/00670F00
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/00670F00
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/00670F00')
-rw-r--r--src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c b/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c
index 8d2c8e685e..66a8393a73 100644
--- a/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c
+++ b/src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c
@@ -365,13 +365,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);
}
/**********************************************************************