socket_cache_make_all_available() is also called in init()

Signed-off-by: Simon Horman <[email protected]>
---
 src/haproxy.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/haproxy.c b/src/haproxy.c
index 6dd24c3..a84ef49 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -1168,8 +1168,6 @@ static FILE *prepare(int argc, char **argv)
        FILE *pidfile = NULL;
        char errmsg[100];
 
-       socket_cache_make_all_available();
-
        init(argc, argv);
        /* daemon and master/worker modes can't be altered on restart */
        if (is_master)
-- 
1.7.2.3


Reply via email to