nb/intel/ironlake: Work around unused variable warning

It's not clear whether this variable should actually be used or not so
leave it be with a FIXME comment.

Change-Id: I4892600bfec55830acae56d2b293947c2d9ddd07
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69237
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Arthur Heymans 2022-11-04 20:56:32 +01:00
parent e55aa0bc8f
commit b291dc8776
1 changed files with 2 additions and 0 deletions

View File

@ -782,6 +782,8 @@ static void compute_derived_timings(struct raminfo *info)
some_delay_2_halfcycles_ceil - 1; some_delay_2_halfcycles_ceil - 1;
if (!info->revision_flag_1) if (!info->revision_flag_1)
some_delay_2_halfcycles_floor++; some_delay_2_halfcycles_floor++;
/* FIXME: this variable is unused. Should it be used? */
(void)some_delay_2_halfcycles_floor;
info->some_delay_2_halfcycles_ceil = some_delay_2_halfcycles_ceil; info->some_delay_2_halfcycles_ceil = some_delay_2_halfcycles_ceil;
info->some_delay_3_ps_rounded = some_delay_3_ps_rounded; info->some_delay_3_ps_rounded = some_delay_3_ps_rounded;
if ((info->populated_ranks[0][0][0] && info->populated_ranks[0][1][0]) if ((info->populated_ranks[0][0][0] && info->populated_ranks[0][1][0])