diff options
author | David Sommerseth <dazo@users.sourceforge.net> | 2010-11-15 08:58:36 +0100 |
---|---|---|
committer | David Sommerseth <dazo@users.sourceforge.net> | 2010-11-18 18:54:49 +0100 |
commit | 7581c8fd6f0b0f0855b8dae8dba697fecb5ac6a4 (patch) | |
tree | 69c3e5094d03ebffd91e397e3ab24faf81db740b /ps.c | |
parent | Only add some functions when really needed (diff) | |
download | openvpn-7581c8fd6f0b0f0855b8dae8dba697fecb5ac6a4.tar.xz |
Removed functions not being used anywhere
The GNU C compiler gave warnings about these functions in the patch
not being used anywhere. Doing a git grep on the code turned out
there were no callers to these functions. Taking these functions out,
as there is not good reason why to carry dead code.
Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Acked-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'ps.c')
-rw-r--r-- | ps.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -234,18 +234,6 @@ port_share_sendmsg (const socket_descriptor_t sd, } } -static int -pc_list_len (struct proxy_connection *pc) -{ - int count = 0; - while (pc) - { - ++count; - pc = pc->next; - } - return count; -} - static void proxy_entry_close_sd (struct proxy_connection *pc, struct event_set *es) { |