arm: mvebu: drivers/ddr: remove redundant assignment
The value of local variable ecc is immediately overwritten. So we can remove the first assignment. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
5e2de83f71
commit
a1dd1fcb6e
@ -434,10 +434,6 @@ static u32 ddr3_init_main(void)
|
||||
scrub_size = 0;
|
||||
#endif
|
||||
|
||||
#if defined(ECC_SUPPORT) && defined(AUTO_DETECTION_SUPPORT)
|
||||
ecc = DRAM_ECC;
|
||||
#endif
|
||||
|
||||
#if defined(ECC_SUPPORT) && defined(AUTO_DETECTION_SUPPORT)
|
||||
ecc = 0;
|
||||
if (ddr3_check_config(BUS_WIDTH_ECC_TWSI_ADDR, CONFIG_ECC))
|
||||
|
Loading…
Reference in New Issue
Block a user