diff options
-rw-r--r-- | libmom/mach-port-set.c | 2 |
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; } |