From 5ecb8da118120dc5b8aeb0490ed99e1e39a75bd5 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 16 Jun 2016 15:26:19 -0600 Subject: [PATCH] Eliminate a warning --- arch/arm/src/stm32/stm32_rcc.c | 2 -- arch/arm/src/stm32/stm32_rtc.c | 16 ---------------- 2 files changed, 18 deletions(-) diff --git a/arch/arm/src/stm32/stm32_rcc.c b/arch/arm/src/stm32/stm32_rcc.c index 80e87fb37aa..0dee8dc216d 100644 --- a/arch/arm/src/stm32/stm32_rcc.c +++ b/arch/arm/src/stm32/stm32_rcc.c @@ -171,8 +171,6 @@ static inline rcc_resetbkp(void) void stm32_clockconfig(void) { - uint32_t regval; - /* Make sure that we are starting in the reset state */ rcc_reset(); diff --git a/arch/arm/src/stm32/stm32_rtc.c b/arch/arm/src/stm32/stm32_rtc.c index 0080b78cd24..3e8dc0b0d78 100644 --- a/arch/arm/src/stm32/stm32_rtc.c +++ b/arch/arm/src/stm32/stm32_rtc.c @@ -41,22 +41,6 @@ #include "chip.h" -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -/**************************************************************************** - * Private Types - ****************************************************************************/ - -/**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions - ****************************************************************************/ - /**************************************************************************** * Public Functions ****************************************************************************/