vc/cavium/bdk/libdram: Remove unused assignment

The total number of errors is only needed after a final tuning run at the
end of this function, so we can remove this unneeded store for earlier
runs.

Change-Id: I62adb38ccba98d90bcf8ccd13998762b9b694111
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 1393967
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34592
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
Jacob Garber 2019-07-26 14:45:59 -06:00 committed by Patrick Georgi
parent 8a48c92338
commit c1e9ba8c3d
1 changed files with 1 additions and 1 deletions

View File

@ -655,7 +655,7 @@ auto_set_dll_offset(bdk_node_t node, int dll_offset_mode,
// run the test(s) // run the test(s)
// only 1 call should be enough, let the bursts, etc, control the load... // only 1 call should be enough, let the bursts, etc, control the load...
tot_errors = run_dram_tuning_threads(node, num_lmcs, bytemask); run_dram_tuning_threads(node, num_lmcs, bytemask);
for (lmc = 0; lmc < num_lmcs; lmc++) { for (lmc = 0; lmc < num_lmcs; lmc++) {
// record stop cycle CSRs here for utilization measure // record stop cycle CSRs here for utilization measure