timer: arm: Mark ticks as unused

When TICKLESS_KERNEL is disabled the parameter ticks is not used.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2020-12-21 12:41:10 -08:00 committed by Anas Nashif
parent cd0caced65
commit 4ab6dd003e

View file

@ -89,6 +89,7 @@ void z_clock_set_timeout(int32_t ticks, bool idle)
k_spin_unlock(&lock, key);
#else /* CONFIG_TICKLESS_KERNEL */
ARG_UNUSED(ticks);
ARG_UNUSED(idle);
#endif
}