From 6af422162fbc1c505526157ecf630e37694dbc7b Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Sat, 28 Aug 2010 20:52:19 +0200 Subject: Clean-up: Removing useless code - hash related functions Removed even more function which where practically empty and took away some function arguments which were not used. Signed-off-by: David Sommerseth Acked-by: James Yonan --- mudp.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'mudp.c') diff --git a/mudp.c b/mudp.c index 815ed1c..77468b2 100644 --- a/mudp.c +++ b/mudp.c @@ -51,7 +51,6 @@ multi_get_create_instance_udp (struct multi_context *m) const uint32_t hv = hash_value (hash, &real); struct hash_bucket *bucket = hash_bucket (hash, hv); - hash_bucket_lock (bucket); he = hash_lookup_fast (hash, bucket, &real, hv); if (he) @@ -81,8 +80,6 @@ multi_get_create_instance_udp (struct multi_context *m) } } - hash_bucket_unlock (bucket); - #ifdef ENABLE_DEBUG if (check_debug_level (D_MULTI_DEBUG)) { -- cgit