summaryrefslogtreecommitdiff
path: root/libiohelp/get_conch.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-11 18:30:02 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-11 18:30:02 +0000
commit3dc72e2ee1ec681ab22be681e4e07df1da2a7f38 (patch)
tree39b837bdcc5f6bab09c76f298fcc8583975f4a19 /libiohelp/get_conch.c
parent3e73723e057707e6a433d70630319cbf00a988f1 (diff)
entered into RCS
Diffstat (limited to 'libiohelp/get_conch.c')
-rw-r--r--libiohelp/get_conch.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libiohelp/get_conch.c b/libiohelp/get_conch.c
index b8a06e10..3d5fd8af 100644
--- a/libiohelp/get_conch.c
+++ b/libiohelp/get_conch.c
@@ -19,11 +19,10 @@
/* The conch must be locked when calling this routine. */
/* Remove any current holder of conch C. */
-error_t
+void
ioserver_get_conch (struct conch *c)
{
struct shared_io *user_sh;
- int error = 0;
again:
user_sh = c->holder_shared_page;
@@ -45,7 +44,7 @@ ioserver_get_conch (struct conch *c)
case USER_COULD_HAVE_CONCH:
user_sh->conch_status = USER_HAS_NOT_CONCH;
spin_unlock (&user_sh->lock);
- error = ioserver_fetch_shared_data (c->holder);
+ ioserver_fetch_shared_data (c->holder);
break;
case USER_HAS_NOT_CONCH:
@@ -55,5 +54,4 @@ ioserver_get_conch (struct conch *c)
}
c->holder = 0;
c->holder_shared_page = 0;
- return error;
}