This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 7421846c94bf152f2a612b0793e40efac95dfdc7
Author: wangchengdong <[email protected]>
AuthorDate: Sun Nov 23 21:48:32 2025 +0800

    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 [email protected]
---
 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();
     }
 

Reply via email to