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
commitbce49690ea50e1984db99f4e3fbf82ccbff407aa (patch)
tree32376009e8929e0261f898c2419b783c61828faa /libmom
parentf45889af418cfaa6af8053c9c4774e56eefde1e3 (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;
}