summaryrefslogtreecommitdiff
path: root/libmom
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-25 21:33:54 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-25 21:33:54 +0000
commitb393b0ad7543d1d97f64b15037228b6e0af01fef (patch)
tree5b1ac0e5e9cc10248fb05d0b4e82bf513d6bc640 /libmom
parent620e6666b8a3ea47709508110973f47c82aeb3a6 (diff)
(mom_mach_port_set): Omit uses of deleted members of struct mom_port_ref.c.
Diffstat (limited to 'libmom')
-rw-r--r--libmom/mach-port-set.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libmom/mach-port-set.c b/libmom/mach-port-set.c
index 11619900..ed6842fd 100644
--- a/libmom/mach-port-set.c
+++ b/libmom/mach-port-set.c
@@ -24,9 +24,7 @@ error_t
mom_mach_port_set (struct mom_port_ref *obj,
mach_port_t port)
{
- obj->lock = SPIN_LOCK_INITIALIZER;
obj->port = port;
- obj->refcnt = 1;
return 0;
}