From 53930763f4c1a57830133e730579db267969e7bc Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 10 Sep 2018 06:57:12 -0600 Subject: [PATCH] sched/sched/sched_waitpid.c: Remove a bad error check. I though Juha already removed this problem. Did I lose his change? --- sched/sched/sched_waitpid.c | 11 ----------- 1 file changed, 11 deletions(-) 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();