diff options
author | David Sommerseth | 2010-08-28 20:44:07 +0200 |
---|---|---|
committer | David Sommerseth | 2010-11-14 22:09:42 +0100 |
commit | cc88a2695f4a54e27143efeae62de24fec8e26a1 (patch) | |
tree | 750bb1b66d8d3030fc0ad68767b6b2d7fc506cd2 /buffer.c | |
parent | 7aa6c12a4424d00ea0add0a849f8a5b31a2de6a1 (diff) | |
download | openvpn-cc88a2695f4a54e27143efeae62de24fec8e26a1.zip openvpn-cc88a2695f4a54e27143efeae62de24fec8e26a1.tar.gz |
Clean-up: Remove more dead and inactive code paths
These code paths was practically not needed with no locking mechanisms
enabled and was just bloating the source code.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: James Yonan <james@openvpn.net>
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -298,10 +298,8 @@ gc_malloc (size_t size, bool clear, struct gc_arena *a) #endif check_malloc_return (e); ret = (char *) e + sizeof (struct gc_entry); - /*mutex_lock_static (L_GC_MALLOC);*/ e->next = a->list; a->list = e; - /*mutex_unlock_static (L_GC_MALLOC);*/ } else { @@ -323,10 +321,8 @@ void x_gc_free (struct gc_arena *a) { struct gc_entry *e; - /*mutex_lock_static (L_GC_MALLOC);*/ e = a->list; a->list = NULL; - /*mutex_unlock_static (L_GC_MALLOC);*/ while (e != NULL) { |