mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-21 04:14:26 +08:00
Removed assert's from routines which return the error ENOSYS.
This commit is contained in:
@@ -53,12 +53,6 @@ int sched_setscheduler(
|
||||
const struct sched_param *param
|
||||
)
|
||||
{
|
||||
/*
|
||||
* Only supported for the "calling process" (i.e. this node).
|
||||
*/
|
||||
|
||||
assert( pid == getpid() );
|
||||
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
}
|
||||
@@ -72,12 +66,6 @@ int sched_getscheduler(
|
||||
pid_t pid
|
||||
)
|
||||
{
|
||||
/*
|
||||
* Only supported for the "calling process" (i.e. this node).
|
||||
*/
|
||||
|
||||
assert( pid == getpid() );
|
||||
|
||||
errno = ENOSYS;
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user