diff --git a/arch/arm/src/lpc54xx/lpc54_emc.c b/arch/arm/src/lpc54xx/lpc54_emc.c index 85b6183f5c..8cf65d4ad5 100644 --- a/arch/arm/src/lpc54xx/lpc54_emc.c +++ b/arch/arm/src/lpc54xx/lpc54_emc.c @@ -418,7 +418,6 @@ void lpc54_emc_sdram_initialize( /* Set the right mode setting value. */ data = *(volatile uint32_t *)addr; - data = data; } if (config->dyndev) @@ -445,7 +444,6 @@ void lpc54_emc_sdram_initialize( /* Set the right mode setting value. */ data = *(volatile uint32_t *)addr; - data = data; } } @@ -468,6 +466,8 @@ void lpc54_emc_sdram_initialize( regval |= EMC_DYNCONFIG_B; putreg32(regval, regaddr); } + + UNUSED(data); } #endif /* CONFIG_LPC54_EMC_DYNAMIC */