mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 02:15:45 +01: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:
		
				
					committed by
					
						 Stefan Roese
						Stefan Roese
					
				
			
			
				
	
			
			
			
						parent
						
							5e2de83f71
						
					
				
				
					commit
					a1dd1fcb6e
				
			| @@ -434,10 +434,6 @@ static u32 ddr3_init_main(void) | |||||||
| 	scrub_size = 0; | 	scrub_size = 0; | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #if defined(ECC_SUPPORT) && defined(AUTO_DETECTION_SUPPORT) |  | ||||||
| 	ecc = DRAM_ECC; |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #if defined(ECC_SUPPORT) && defined(AUTO_DETECTION_SUPPORT) | #if defined(ECC_SUPPORT) && defined(AUTO_DETECTION_SUPPORT) | ||||||
| 	ecc = 0; | 	ecc = 0; | ||||||
| 	if (ddr3_check_config(BUS_WIDTH_ECC_TWSI_ADDR, CONFIG_ECC)) | 	if (ddr3_check_config(BUS_WIDTH_ECC_TWSI_ADDR, CONFIG_ECC)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user