From 3dc72e2ee1ec681ab22be681e4e07df1da2a7f38 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 11 Feb 1994 18:30:02 +0000 Subject: entered into RCS --- libiohelp/get_conch.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libiohelp/get_conch.c') 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; } -- cgit v1.2.3