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:
parent
4cb61bd8c2
commit
53930763f4
|
@ -193,17 +193,6 @@ pid_t waitpid(pid_t pid, int *stat_loc, int options)
|
||||||
|
|
||||||
(void)enter_cancellation_point();
|
(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 */
|
/* Disable pre-emption so that nothing changes in the following tests */
|
||||||
|
|
||||||
sched_lock();
|
sched_lock();
|
||||||
|
|
Loading…
Reference in New Issue