Skip to content

Commit 9551f27

Browse files
finikorgfabiobaltieri
authored andcommitted
kernel: timeout: Remove unneeded assignment
Fix warnings with value stored never read. Signed-off-by: Andrei Emeltchenko <[email protected]>
1 parent 6e69d75 commit 9551f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/timeout.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ void sys_clock_announce(int32_t ticks)
224224

225225
announce_remaining = ticks;
226226

227-
struct _timeout *t = first();
227+
struct _timeout *t;
228228

229229
for (t = first();
230230
(t != NULL) && (t->dticks <= announce_remaining);

0 commit comments

Comments
 (0)