drivers: nrf timer: remove unused variable
retval is not being initialised or set. Change-Id: Iaab4f1acbb009b1fb9cdbc4b3c29ffb696dc8615 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
87a2b02189
commit
247a4509ce
1 changed files with 1 additions and 2 deletions
|
@ -88,7 +88,6 @@ static void rtc1_nrf5_isr(void *arg)
|
|||
int _sys_clock_driver_init(struct device *device)
|
||||
{
|
||||
struct device *clock;
|
||||
int retval;
|
||||
|
||||
ARG_UNUSED(device);
|
||||
|
||||
|
@ -110,7 +109,7 @@ int _sys_clock_driver_init(struct device *device)
|
|||
|
||||
NRF_RTC1->TASKS_START = 1;
|
||||
|
||||
return retval;
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32_t sys_cycle_get_32(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue