sched/sched/sched_waitpid.c: Remove a bad error check. I though Juha already removed this problem. Did I lose his change?

This commit is contained in:
Gregory Nutt 2018-09-10 06:57:12 -06:00
parent 4cb61bd8c2
commit 53930763f4
1 changed files with 0 additions and 11 deletions

View File

@ -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();