summaryrefslogtreecommitdiff
path: root/nuttx/configs/olimex-lpc-h3131/src/lpc31_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/olimex-lpc-h3131/src/lpc31_mem.c')
-rw-r--r--nuttx/configs/olimex-lpc-h3131/src/lpc31_mem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/configs/olimex-lpc-h3131/src/lpc31_mem.c b/nuttx/configs/olimex-lpc-h3131/src/lpc31_mem.c
index 389a62f4e..a99e6baf4 100644
--- a/nuttx/configs/olimex-lpc-h3131/src/lpc31_mem.c
+++ b/nuttx/configs/olimex-lpc-h3131/src/lpc31_mem.c
@@ -137,7 +137,6 @@ static uint32_t lpc31_ns2clk(uint32_t ns, uint32_t hclk2)
static inline void lpc31_sdraminitialize(void)
{
- uint32_t tmp;
uint32_t regval;
/* These run-time calculations can be reduced dramatically if hclk is
@@ -254,7 +253,7 @@ static inline void lpc31_sdraminitialize(void)
* 16bit mode
*/
- tmp = getreg32(LPC31_EXTSDRAM0_VSECTION | (0x23 << 12));
+ (void)getreg32(LPC31_EXTSDRAM0_VSECTION | (0x23 << 12));
/* Select normal operating mode */