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 /mroute.h | |
parent | 7aa6c12a4424d00ea0add0a849f8a5b31a2de6a1 (diff) | |
download | openvpn-cc88a2695f4a54e27143efeae62de24fec8e26a1.tar.gz openvpn-cc88a2695f4a54e27143efeae62de24fec8e26a1.tar.xz openvpn-cc88a2695f4a54e27143efeae62de24fec8e26a1.zip |
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 'mroute.h')
-rw-r--r-- | mroute.h | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -91,7 +91,6 @@ struct mroute_addr { * Used to help maintain CIDR routing table. */ struct mroute_helper { - /*MUTEX_DEFINE (mutex);*/ unsigned int cache_generation; /* incremented when route added */ int ageable_ttl_secs; /* host route cache entry time-to-live*/ int n_net_len; /* length of net_len array */ @@ -159,18 +158,6 @@ mroute_extract_addr_from_packet (struct mroute_addr *src, return ret; } -static inline void -mroute_helper_lock (struct mroute_helper *mh) -{ - /*mutex_lock (&mh->mutex);*/ -} - -static inline void -mroute_helper_unlock (struct mroute_helper *mh) -{ - /*mutex_unlock (&mh->mutex);*/ -} - static inline bool mroute_addr_equal (const struct mroute_addr *a1, const struct mroute_addr *a2) { |