kernel: timeout: Remove unneeded assignment

Fix warnings with value stored never read.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2023-08-21 16:00:22 +03:00 committed by Fabio Baltieri
commit 9551f2708b

View file

@ -224,7 +224,7 @@ void sys_clock_announce(int32_t ticks)
announce_remaining = ticks;
struct _timeout *t = first();
struct _timeout *t;
for (t = first();
(t != NULL) && (t->dticks <= announce_remaining);