Eliminate some warnings
This commit is contained in:
parent
b99ff9e03b
commit
70c8ff6581
@ -619,6 +619,7 @@ static int sam34_ioctl(FAR struct timer_lowerhalf_s *lower, int cmd,
|
|||||||
|
|
||||||
DEBUGASSERT(priv);
|
DEBUGASSERT(priv);
|
||||||
rttvdbg("Entry: cmd=%d arg=%ld\n", cmd, arg);
|
rttvdbg("Entry: cmd=%d arg=%ld\n", cmd, arg);
|
||||||
|
UNUSED(priv);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -572,6 +572,7 @@ static int sam34_ioctl(FAR struct timer_lowerhalf_s *lower, int cmd,
|
|||||||
|
|
||||||
DEBUGASSERT(priv);
|
DEBUGASSERT(priv);
|
||||||
tcvdbg("Entry: cmd=%d arg=%ld\n", cmd, arg);
|
tcvdbg("Entry: cmd=%d arg=%ld\n", cmd, arg);
|
||||||
|
UNUSED(priv);
|
||||||
|
|
||||||
return ret;
|
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)
|
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");
|
wdvdbg("Entry\n");
|
||||||
DEBUGASSERT(priv);
|
|
||||||
|
|
||||||
sam34_putreg((WDT_CR_KEY | WDT_CR_WDRSTT), SAM_WDT_CR);
|
sam34_putreg((WDT_CR_KEY | WDT_CR_WDRSTT), SAM_WDT_CR);
|
||||||
return OK;
|
return OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user