sched/signal: Remove redundant wd_cancel() in nxsig_clockwait()

Both the watchdog timeout and signal dispatch paths already cancel
the watchdog timer, so the explicit wd_cancel() call is redundant.

Signed-off-by: Chengdong Wang wangchengdong@lixiang.com
This commit is contained in:
wangchengdong 2025-11-23 21:48:32 +08:00 committed by Xiang Xiao
parent a232815648
commit 7421846c94

View file

@ -276,7 +276,6 @@ int nxsig_clockwait(int clockid, int flags,
if (rqtp)
{
wd_cancel(&rtcb->waitdog);
stop = clock_systime_ticks();
}