We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c3198e commit e6b45feCopy full SHA for e6b45fe
kernel/sys_clock.c
@@ -167,8 +167,6 @@ u32_t k_uptime_delta_32(s64_t *reftime)
167
* interrupt.
168
*/
169
170
-volatile int _handling_timeouts;
171
-
172
static inline void handle_timeouts(s32_t ticks)
173
{
174
sys_dlist_t expired;
@@ -198,8 +196,6 @@ static inline void handle_timeouts(s32_t ticks)
198
196
* prohibited.
199
197
200
201
- _handling_timeouts = 1;
202
203
while (next) {
204
205
/*
@@ -254,8 +250,6 @@ static inline void handle_timeouts(s32_t ticks)
254
250
irq_unlock(key);
255
251
256
252
_handle_expired_timeouts(&expired);
257
258
- _handling_timeouts = 0;
259
253
}
260
#else
261
#define handle_timeouts(ticks) do { } while ((0))
0 commit comments