nb/amd/amdmct/mct_ddr3: Remove duplicate conditional

This check is already performed at the beginning of
dct_ddr_voltage_index().

Change-Id: Ia73025333c152f14249afb16d05f66791e69e7cb
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1347322, 1347323
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33264
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Jacob Garber 2019-06-06 11:35:43 -06:00 committed by Patrick Georgi
parent 86d8c4279d
commit 19cbe03534
1 changed files with 0 additions and 5 deletions

View File

@ -3071,11 +3071,6 @@ void fam15EnableTrainingMode(struct MCTStatStruc *pMCTstat,
*/
uint8_t dimm_event_l_pin_support = 0;
if (pDCTstat->DIMMValidDCT[dct] == 0)
ddr_voltage_index = 1;
else
ddr_voltage_index = dct_ddr_voltage_index(pDCTstat, dct);
ddr_voltage_index = dct_ddr_voltage_index(pDCTstat, dct);
max_dimms_installable = mctGet_NVbits(NV_MAX_DIMMS_PER_CH);