Skip to content

Commit e6b45fe

Browse files
author
Andy Ross
committed
kernel: Remove unused variable
This flag is vestigial. It gets set but never read. Signed-off-by: Andy Ross <[email protected]>
1 parent 5c3198e commit e6b45fe

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

kernel/sys_clock.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,6 @@ u32_t k_uptime_delta_32(s64_t *reftime)
167167
* interrupt.
168168
*/
169169

170-
volatile int _handling_timeouts;
171-
172170
static inline void handle_timeouts(s32_t ticks)
173171
{
174172
sys_dlist_t expired;
@@ -198,8 +196,6 @@ static inline void handle_timeouts(s32_t ticks)
198196
* prohibited.
199197
*/
200198

201-
_handling_timeouts = 1;
202-
203199
while (next) {
204200

205201
/*
@@ -254,8 +250,6 @@ static inline void handle_timeouts(s32_t ticks)
254250
irq_unlock(key);
255251

256252
_handle_expired_timeouts(&expired);
257-
258-
_handling_timeouts = 0;
259253
}
260254
#else
261255
#define handle_timeouts(ticks) do { } while ((0))

0 commit comments

Comments
 (0)