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

@ -87,7 +87,7 @@ struct _thread_base {
/* data returned by APIs */
void *swap_data;
#ifdef CONFIG_NANO_TIMEOUTS
#ifdef CONFIG_SYS_CLOCK_EXISTS
/* this thread's entry in a timeout queue */
struct _timeout timeout;
#endif