Eliminate some warnings
This commit is contained in:
parent
d2bd1c9de0
commit
4435103316
@ -619,6 +619,7 @@ static int sam34_ioctl(FAR struct timer_lowerhalf_s *lower, int cmd,
|
||||
|
||||
DEBUGASSERT(priv);
|
||||
rttvdbg("Entry: cmd=%d arg=%ld\n", cmd, arg);
|
||||
UNUSED(priv);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -572,6 +572,7 @@ static int sam34_ioctl(FAR struct timer_lowerhalf_s *lower, int cmd,
|
||||
|
||||
DEBUGASSERT(priv);
|
||||
tcvdbg("Entry: cmd=%d arg=%ld\n", cmd, arg);
|
||||
UNUSED(priv);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -384,10 +384,7 @@ static int sam34_stop(FAR struct watchdog_lowerhalf_s *lower)
|
||||
|
||||
static int sam34_keepalive(FAR struct watchdog_lowerhalf_s *lower)
|
||||
{
|
||||
FAR struct sam34_lowerhalf_s *priv = (FAR struct sam34_lowerhalf_s *)lower;
|
||||
|
||||
wdvdbg("Entry\n");
|
||||
DEBUGASSERT(priv);
|
||||
|
||||
sam34_putreg((WDT_CR_KEY | WDT_CR_WDRSTT), SAM_WDT_CR);
|
||||
return OK;
|
||||
|
Loading…
Reference in New Issue
Block a user