mirror of
https://github.com/apache/nuttx.git
synced 2026-09-03 07:33:00 +00:00
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:
parent
a232815648
commit
7421846c94
1 changed files with 0 additions and 1 deletions
|
|
@ -276,7 +276,6 @@ int nxsig_clockwait(int clockid, int flags,
|
|||
|
||||
if (rqtp)
|
||||
{
|
||||
wd_cancel(&rtcb->waitdog);
|
||||
stop = clock_systime_ticks();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue