summaryrefslogtreecommitdiff
path: root/src
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
parent83f75bfeb93194e1a41a7c69431f5249cc04b4e8 (diff)
downloadcoreboot-0f01c09ef19bb266df2443636cebb57c70cb4f49.tar.xz
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')
-rw-r--r--src/vendorcode/amd/pi/00630F01/binaryPI/AGESA.c5
-rw-r--r--src/vendorcode/amd/pi/00660F01/binaryPI/AGESA.c5
-rw-r--r--src/vendorcode/amd/pi/00670F00/binaryPI/AGESA.c5
-rw-r--r--src/vendorcode/amd/pi/00730F01/binaryPI/AGESA.c5
4 files changed, 0 insertions, 20 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);
}
/**********************************************************************
diff --git a/src/vendorcode/amd/pi/00660F01/binaryPI/AGESA.c b/src/vendorcode/amd/pi/00660F01/binaryPI/AGESA.c
index 8d2c8e685e..66a8393a73 100644
--- a/src/vendorcode/amd/pi/00660F01/binaryPI/AGESA.c
+++ b/src/vendorcode/amd/pi/00660F01/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);
}
/**********************************************************************
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);
}
/**********************************************************************
diff --git a/src/vendorcode/amd/pi/00730F01/binaryPI/AGESA.c b/src/vendorcode/amd/pi/00730F01/binaryPI/AGESA.c
index 82744dd0cf..25364d859f 100644
--- a/src/vendorcode/amd/pi/00730F01/binaryPI/AGESA.c
+++ b/src/vendorcode/amd/pi/00730F01/binaryPI/AGESA.c
@@ -366,13 +366,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);
}
/**********************************************************************