soc/mediatek/mt8183: Fix set but unused variable
This fixes a clang warning. Change-Id: I017ed8601e6ec4c66487e9a6f31e93251515e686 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/74554 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
parent
7277b26f05
commit
5a24d6491e
|
@ -2170,7 +2170,7 @@ static u8 dramc_window_perbit_cal(u8 chn, u8 rank, u8 freq_group,
|
|||
u8 vref = 0, vref_begin = 0, vref_end = 1, vref_step = 1, vref_use = 0;
|
||||
u8 vref_scan_enable = 0, small_reg_value = 0xff;
|
||||
s16 dly_begin = 0, dly_end = 0, dly_step = 1;
|
||||
u32 dummy_rd_bak_engine2 = 0, finish_bit, win_min_max = 0;
|
||||
u32 dummy_rd_bak_engine2 = 0, win_min_max = 0;
|
||||
static u16 dq_precal_result[DQS_NUMBER];
|
||||
struct vref_perbit_dly vref_dly;
|
||||
struct win_perbit_dly win_perbit[DQ_DATA_WIDTH];
|
||||
|
@ -2240,7 +2240,6 @@ static u8 dramc_window_perbit_cal(u8 chn, u8 rank, u8 freq_group,
|
|||
vref_dly.max_win_sum = 0;
|
||||
for (vref = vref_begin; vref < vref_end; vref += vref_step) {
|
||||
small_reg_value = 0xff;
|
||||
finish_bit = 0;
|
||||
if (type == TX_WIN_DQ_ONLY)
|
||||
vref_use = vref | (vref_range << 6);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue