Both is_persist_option() and is_stateful_restart() functions where never
used anywhere in the code. Remove them.
Signed-off-by: David Sommerseth <davids@redhat.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: 1336036240-23838-1-git-send-email-dazo@users.sourceforge.net
URL: http://article.gmane.org/gmane.network.openvpn.devel/6402
| ... | ... |
@@ -1050,22 +1050,6 @@ string_substitute (const char *src, int from, int to, struct gc_arena *gc) |
| 1050 | 1050 |
return ret; |
| 1051 | 1051 |
} |
| 1052 | 1052 |
|
| 1053 |
-bool |
|
| 1054 |
-is_persist_option (const struct options *o) |
|
| 1055 |
-{
|
|
| 1056 |
- return o->persist_tun |
|
| 1057 |
- || o->persist_key |
|
| 1058 |
- || o->persist_local_ip |
|
| 1059 |
- || o->persist_remote_ip |
|
| 1060 |
- ; |
|
| 1061 |
-} |
|
| 1062 |
- |
|
| 1063 |
-bool |
|
| 1064 |
-is_stateful_restart (const struct options *o) |
|
| 1065 |
-{
|
|
| 1066 |
- return is_persist_option (o) || connection_list_defined (o); |
|
| 1067 |
-} |
|
| 1068 |
- |
|
| 1069 | 1053 |
#ifdef ENABLE_SSL |
| 1070 | 1054 |
static uint8_t * |
| 1071 | 1055 |
parse_hash_fingerprint(const char *str, int nbytes, int msglevel, struct gc_arena *gc) |
| ... | ... |
@@ -749,9 +749,6 @@ bool apply_push_options (struct options *options, |
| 749 | 749 |
unsigned int *option_types_found, |
| 750 | 750 |
struct env_set *es); |
| 751 | 751 |
|
| 752 |
-bool is_persist_option (const struct options *o); |
|
| 753 |
-bool is_stateful_restart (const struct options *o); |
|
| 754 |
- |
|
| 755 | 752 |
void options_detach (struct options *o); |
| 756 | 753 |
|
| 757 | 754 |
void options_server_import (struct options *o, |