nb/amd/amdmct/mct/mctpro_d.c: Remove variable set but not used
Change-Id: Ic2f2788142329e2e4d04b531805a32d4dcaa293c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32949 Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
7a5d4e2b4a
commit
f0a576595a
|
@ -280,7 +280,6 @@ void mct_BeforeDramInit_D(struct DCTStatStruc *pDCTstat, u32 dct)
|
||||||
u32 Speed;
|
u32 Speed;
|
||||||
u32 ch, ch_start, ch_end;
|
u32 ch, ch_start, ch_end;
|
||||||
u32 index_reg;
|
u32 index_reg;
|
||||||
u32 index;
|
|
||||||
u32 dev;
|
u32 dev;
|
||||||
u32 val;
|
u32 val;
|
||||||
|
|
||||||
|
@ -297,7 +296,7 @@ void mct_BeforeDramInit_D(struct DCTStatStruc *pDCTstat, u32 dct)
|
||||||
ch_end = dct+1;
|
ch_end = dct+1;
|
||||||
}
|
}
|
||||||
dev = pDCTstat->dev_dct;
|
dev = pDCTstat->dev_dct;
|
||||||
index = 0x0D00E001;
|
|
||||||
for (ch = ch_start; ch < ch_end; ch++) {
|
for (ch = ch_start; ch < ch_end; ch++) {
|
||||||
index_reg = 0x98 + 0x100 * ch;
|
index_reg = 0x98 + 0x100 * ch;
|
||||||
val = Get_NB32_index(dev, index_reg, 0x0D00E001);
|
val = Get_NB32_index(dev, index_reg, 0x0D00E001);
|
||||||
|
|
Loading…
Reference in New Issue