Eliminate a warning
This commit is contained in:
parent
1e4674e535
commit
8a076d4c09
@ -770,7 +770,6 @@ static int rtchw_check_alrbwf(void)
|
||||
static int rtchw_set_alrmar(rtc_alarmreg_t alarmreg)
|
||||
{
|
||||
int ret = -EBUSY;
|
||||
uint32_t cr;
|
||||
|
||||
/* Need to follow RTC register wrote protection
|
||||
* Disable the write protection for RTC registers
|
||||
@ -807,7 +806,6 @@ errout_with_wprunlock:
|
||||
#ifdef CONFIG_RTC_ALARM
|
||||
static int rtchw_set_alrmbr(rtc_alarmreg_t alarmreg)
|
||||
{
|
||||
uint32_t cr;
|
||||
int ret = -EBUSY;
|
||||
|
||||
/* Need to follow RTC register wrote protection
|
||||
|
Loading…
Reference in New Issue
Block a user