From 78b9579d9eace59a16e173e4acfa1c363e862ec8 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Sat, 25 May 1996 21:34:28 +0000 Subject: (mom_ref_destroy): Omit uses of deleted members of struct mom_port_ref.c. --- libmom/ref-destroy.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libmom/ref-destroy.c b/libmom/ref-destroy.c index 3e9266ec..6966bcdc 100644 --- a/libmom/ref-destroy.c +++ b/libmom/ref-destroy.c @@ -23,11 +23,7 @@ void mom_ref_destroy (struct mom_port_ref *obj) { - spin_lock (&obj->lock); - assert (obj->refcnt); mach_port_deallocate (mach_task_self (), obj->port); - obj->refcnt = 0; - spin_unlock (&obj->lock); } -- cgit v1.2.3