STM32 RTCC: Eliminate a warning when ALARM support is enabled

This commit is contained in:
Gregory Nutt 2015-07-02 15:02:59 -06:00
parent 1839d132f0
commit 51df91e93d

View File

@ -1086,7 +1086,6 @@ int up_rtc_settime(FAR const struct timespec *tp)
#ifdef CONFIG_RTC_ALARM
int stm32_rtc_setalarm(FAR const struct timespec *tp, alarmcb_t callback)
{
irqstate_t flags;
int ret = -EBUSY;
/* Is there already something waiting on the ALARM? */