diff --git a/sched/sched/sched_waitpid.c b/sched/sched/sched_waitpid.c index ac799617e3..19558d8269 100644 --- a/sched/sched/sched_waitpid.c +++ b/sched/sched/sched_waitpid.c @@ -193,17 +193,6 @@ pid_t waitpid(pid_t pid, int *stat_loc, int options) (void)enter_cancellation_point(); - /* None of the options are supported */ - -#ifdef CONFIG_DEBUG_FEATURES - if (options != 0) - { - set_errno(ENOSYS); - leave_cancellation_point(); - return ERROR; - } -#endif - /* Disable pre-emption so that nothing changes in the following tests */ sched_lock();