vc/amd/agesa/f16kb: Remove redundant value assignment
Code sets `Status = TRUE` in section of code that can only be reached if `Status == TRUE`. Change-Id: Id9a49476d17a5ca141994b0d5dfc5e5c62a00f0e Signed-off-by: Joe Moore <awokd@danwin1210.me> Found-by: Coverity CID 1241801 Reviewed-on: https://review.coreboot.org/c/coreboot/+/36189 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
03cfae40a6
commit
5bba746f98
|
@ -260,8 +260,7 @@ MemTAmdRdDqs2DTraining (
|
||||||
//
|
//
|
||||||
IDS_HDT_CONSOLE (MEM_FLOW, "\n\t\tProgramming Final Vref for channel\n\n");
|
IDS_HDT_CONSOLE (MEM_FLOW, "\n\t\tProgramming Final Vref for channel\n\n");
|
||||||
MemT2DProgramVref (TechPtr, NBPtr->ChannelPtr->MaxVref);
|
MemT2DProgramVref (TechPtr, NBPtr->ChannelPtr->MaxVref);
|
||||||
Status = TRUE;
|
} else {
|
||||||
} else {
|
|
||||||
SetMemError (AGESA_ERROR, NBPtr->MCTPtr);
|
SetMemError (AGESA_ERROR, NBPtr->MCTPtr);
|
||||||
PutEventLog (AGESA_ERROR, MEM_ERROR_2D_DQS_VREF_MARGIN_ERROR, NBPtr->Node, NBPtr->Dct, NBPtr->Channel, 0, &NBPtr->MemPtr->StdHeader);
|
PutEventLog (AGESA_ERROR, MEM_ERROR_2D_DQS_VREF_MARGIN_ERROR, NBPtr->Node, NBPtr->Dct, NBPtr->Channel, 0, &NBPtr->MemPtr->StdHeader);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue