summaryrefslogtreecommitdiff
path: root/libports/create-bucket.c
diff options
context:
space:
mode:
Diffstat (limited to 'libports/create-bucket.c')
-rw-r--r--libports/create-bucket.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libports/create-bucket.c b/libports/create-bucket.c
index 52d50c35..2c5f1b65 100644
--- a/libports/create-bucket.c
+++ b/libports/create-bucket.c
@@ -48,11 +48,5 @@ ports_create_bucket ()
hurd_ihash_init (&ret->htable, offsetof (struct port_info, hentry));
ret->rpcs = ret->flags = ret->count = 0;
-
- pthread_mutex_lock (&_ports_lock);
- ret->next = _ports_all_buckets;
- _ports_all_buckets = ret;
- pthread_mutex_unlock (&_ports_lock);
-
return ret;
}