diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-08-28 20:52:19 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-11-14 22:12:07 +0100 |
commit | 6af422162fbc1c505526157ecf630e37694dbc7b (patch) | |
tree | ba21938ba4436767ca08998a3bc5512bd3187b7d /mtcp.c | |
parent | Clean-up: Remove more dead and inactive code paths (diff) | |
download | openvpn-6af422162fbc1c505526157ecf630e37694dbc7b.tar.xz |
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 <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
Diffstat (limited to '')
-rw-r--r-- | mtcp.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -112,7 +112,6 @@ multi_create_instance_tcp (struct multi_context *m) const uint32_t hv = hash_value (hash, &mi->real); struct hash_bucket *bucket = hash_bucket (hash, hv); - hash_bucket_lock (bucket); he = hash_lookup_fast (hash, bucket, &mi->real, hv); if (he) @@ -128,8 +127,6 @@ multi_create_instance_tcp (struct multi_context *m) hash_add_fast (hash, bucket, &mi->real, hv, mi); mi->did_real_hash = true; - - hash_bucket_unlock (bucket); } #ifdef ENABLE_DEBUG |