summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/src/sched.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-06 19:09:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-06 19:09:27 +0000
commit782bdfd125c24d44a08bda23a524f4e5c5c48998 (patch)
treec6d9d66934d0abc00a0223164b5c9495f0ad5aea /c/src/exec/posix/src/sched.c
parentpatch from Tony Bennett on the ifdef for O_NDELAY (diff)
downloadrtems-782bdfd125c24d44a08bda23a524f4e5c5c48998.tar.bz2
Removed assert's from routines which return the error ENOSYS.
Diffstat (limited to 'c/src/exec/posix/src/sched.c')
-rw-r--r--c/src/exec/posix/src/sched.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/c/src/exec/posix/src/sched.c b/c/src/exec/posix/src/sched.c
index c9b98aca98..b66c6fb195 100644
--- a/c/src/exec/posix/src/sched.c
+++ b/c/src/exec/posix/src/sched.c
@@ -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;
}