From 782bdfd125c24d44a08bda23a524f4e5c5c48998 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 6 Jun 1996 19:09:27 +0000 Subject: Removed assert's from routines which return the error ENOSYS. --- c/src/exec/posix/src/sched.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'c/src/exec/posix/src/sched.c') 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; } -- cgit v1.2.3