summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/src/sched.c12
-rw-r--r--cpukit/posix/src/sched.c12
2 files changed, 0 insertions, 24 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;
}
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;
}