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>
This commit is contained in:
parent
83f75bfeb9
commit
0f01c09ef1
|
@ -368,13 +368,8 @@ AmdIdsRunApTaskLate (
|
||||||
IN AP_EXE_PARAMS *AmdApExeParams
|
IN AP_EXE_PARAMS *AmdApExeParams
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
MODULE_ENTRY Dispatcher = NULL;
|
|
||||||
const AMD_MODULE_HEADER* module = agesawrapper_locate_module(ModuleIdentifier);
|
|
||||||
AmdApExeParams->StdHeader.Func = -1;
|
AmdApExeParams->StdHeader.Func = -1;
|
||||||
return AGESA_UNSUPPORTED;
|
return AGESA_UNSUPPORTED;
|
||||||
if (!module) return AGESA_UNSUPPORTED;
|
|
||||||
Dispatcher = module->ModuleDispatcher;
|
|
||||||
return Dispatcher(AmdApExeParams);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
|
@ -365,13 +365,8 @@ AmdIdsRunApTaskLate (
|
||||||
IN AP_EXE_PARAMS *AmdApExeParams
|
IN AP_EXE_PARAMS *AmdApExeParams
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
MODULE_ENTRY Dispatcher = NULL;
|
|
||||||
const AMD_MODULE_HEADER* module = agesawrapper_locate_module(ModuleIdentifier);
|
|
||||||
AmdApExeParams->StdHeader.Func = -1;
|
AmdApExeParams->StdHeader.Func = -1;
|
||||||
return AGESA_UNSUPPORTED;
|
return AGESA_UNSUPPORTED;
|
||||||
if (!module) return AGESA_UNSUPPORTED;
|
|
||||||
Dispatcher = module->ModuleDispatcher;
|
|
||||||
return Dispatcher(AmdApExeParams);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
|
@ -365,13 +365,8 @@ AmdIdsRunApTaskLate (
|
||||||
IN AP_EXE_PARAMS *AmdApExeParams
|
IN AP_EXE_PARAMS *AmdApExeParams
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
MODULE_ENTRY Dispatcher = NULL;
|
|
||||||
const AMD_MODULE_HEADER* module = agesawrapper_locate_module(ModuleIdentifier);
|
|
||||||
AmdApExeParams->StdHeader.Func = -1;
|
AmdApExeParams->StdHeader.Func = -1;
|
||||||
return AGESA_UNSUPPORTED;
|
return AGESA_UNSUPPORTED;
|
||||||
if (!module) return AGESA_UNSUPPORTED;
|
|
||||||
Dispatcher = module->ModuleDispatcher;
|
|
||||||
return Dispatcher(AmdApExeParams);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
|
@ -366,13 +366,8 @@ AmdIdsRunApTaskLate (
|
||||||
IN AP_EXE_PARAMS *AmdApExeParams
|
IN AP_EXE_PARAMS *AmdApExeParams
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
MODULE_ENTRY Dispatcher = NULL;
|
|
||||||
const AMD_MODULE_HEADER* module = agesawrapper_locate_module(ModuleIdentifier);
|
|
||||||
AmdApExeParams->StdHeader.Func = -1;
|
AmdApExeParams->StdHeader.Func = -1;
|
||||||
return AGESA_UNSUPPORTED;
|
return AGESA_UNSUPPORTED;
|
||||||
if (!module) return AGESA_UNSUPPORTED;
|
|
||||||
Dispatcher = module->ModuleDispatcher;
|
|
||||||
return Dispatcher(AmdApExeParams);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
Loading…
Reference in New Issue