summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-25 21:34:28 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-25 21:34:28 +0000
commit78b9579d9eace59a16e173e4acfa1c363e862ec8 (patch)
tree04a618cf685049d290095f7297acf00b3ff02936
parentb393b0ad7543d1d97f64b15037228b6e0af01fef (diff)
(mom_ref_destroy): Omit uses of deleted members of struct mom_port_ref.c.
-rw-r--r--libmom/ref-destroy.c4
1 files changed, 0 insertions, 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);
}