Eliminate some warnings

This commit is contained in:
Gregory Nutt 2015-02-25 08:05:35 -06:00
parent d2bd1c9de0
commit 4435103316
3 changed files with 2 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;