From 7421846c94bf152f2a612b0793e40efac95dfdc7 Mon Sep 17 00:00:00 2001 From: wangchengdong Date: Sun, 23 Nov 2025 21:48:32 +0800 Subject: [PATCH] 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 --- sched/signal/sig_timedwait.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sched/signal/sig_timedwait.c b/sched/signal/sig_timedwait.c index 55c193ccbe6..e419305d51f 100644 --- a/sched/signal/sig_timedwait.c +++ b/sched/signal/sig_timedwait.c @@ -276,7 +276,6 @@ int nxsig_clockwait(int clockid, int flags, if (rqtp) { - wd_cancel(&rtcb->waitdog); stop = clock_systime_ticks(); }