Fix Error: chip/lpc54_emc.c:421:12: error: explicitly assigning value of variable of type 'uint32_t' (aka 'unsigned int') to itself
@@ -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 */
