diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-08-28 20:44:07 +0200 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-11-14 22:09:42 +0100 |
commit | cc88a2695f4a54e27143efeae62de24fec8e26a1 (patch) | |
tree | 750bb1b66d8d3030fc0ad68767b6b2d7fc506cd2 /mbuf.c | |
parent | Clean-up: Remove pthread and mutex locking code (diff) | |
download | openvpn-cc88a2695f4a54e27143efeae62de24fec8e26a1.tar.xz |
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 'mbuf.c')
-rw-r--r-- | mbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -90,7 +90,7 @@ mbuf_add_item (struct mbuf_set *ms, const struct mbuf_item *item) if (ms->len == ms->capacity) { struct mbuf_item rm; - ASSERT (mbuf_extract_item (ms, &rm, false)); + ASSERT (mbuf_extract_item (ms, &rm)); mbuf_free_buf (rm.buffer); msg (D_MULTI_DROPPED, "MBUF: mbuf packet dropped"); } @@ -104,7 +104,7 @@ mbuf_add_item (struct mbuf_set *ms, const struct mbuf_item *item) } bool -mbuf_extract_item (struct mbuf_set *ms, struct mbuf_item *item, const bool lock) +mbuf_extract_item (struct mbuf_set *ms, struct mbuf_item *item) { bool ret = false; if (ms) |