mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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
1 changed files with 0 additions and 4 deletions
|
@ -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 a new issue