sched/wdog: Remove workaround for wdog latency.

This commit removed the workaround for wdog latency.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
ouyangxiangzhen 2025-12-22 16:21:14 +08:00 committed by Xiang Xiao
parent 476e02c7e0
commit 164b075d3f

View file

@ -125,17 +125,9 @@ static inline_function void wd_expiration(clock_t ticks)
* re-evaluate after updating current ticks if needed
*/
bool expired = clock_compare(wdog->expired, ticks);
if (!expired)
if (!clock_compare(wdog->expired, ticks))
{
ticks = clock_systime_ticks();
expired = clock_compare(wdog->expired, ticks);
if (!expired)
{
break;
}
break;
}
/* Remove the watchdog from the head of the list */