diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-06 19:09:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-06 19:09:27 +0000 |
commit | 782bdfd125c24d44a08bda23a524f4e5c5c48998 (patch) | |
tree | c6d9d66934d0abc00a0223164b5c9495f0ad5aea /cpukit/posix/src/sched.c | |
parent | patch from Tony Bennett on the ifdef for O_NDELAY (diff) | |
download | rtems-782bdfd125c24d44a08bda23a524f4e5c5c48998.tar.bz2 |
Removed assert's from routines which return the error ENOSYS.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/sched.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cpukit/posix/src/sched.c b/cpukit/posix/src/sched.c index c9b98aca98..b66c6fb195 100644 --- a/cpukit/posix/src/sched.c +++ b/cpukit/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; } |