From d23a87a2d777775cc12ac2091e3ee2f5f651e571 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(-) (limited to 'libmom/ref-destroy.c') 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