kernel: remove dependency on CONFIG_NANO_TIMERS/TIMEOUTS

Remove legacy option and use SYS_CLOCK_EXISTS where appropriate.

Change-Id: I3d524ea2776e638683f0196c0cc342359d5d810f
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-01-07 08:36:28 -05:00 committed by Anas Nashif
commit f6e039062a
46 changed files with 7 additions and 58 deletions

View file

@ -127,7 +127,7 @@ int sys_event_logger_get_wait(struct event_logger *logger, uint16_t *event_id,
uint8_t *dropped_event_count, uint32_t *buffer,
uint8_t *buffer_size);
#ifdef CONFIG_NANO_TIMEOUTS
#ifdef CONFIG_SYS_CLOCK_EXISTS
/**
* @brief Retrieve an event message from the logger, wait with a timeout if
* empty.
@ -162,7 +162,7 @@ int sys_event_logger_get_wait_timeout(struct event_logger *logger,
* @}
*/
#endif /* CONFIG_NANO_TIMEOUTS */
#endif /* CONFIG_SYS_CLOCK_EXISTS */
#endif /* _ASMLANGUAGE */