From 2b6fcdc0280c9e56c4ce0f348cab7511b809b839 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Tue, 7 Dec 2021 18:02:01 +0100 Subject: [PATCH] Remove pointless do_init_frame_tls function This function is static and just calls another functions. Signed-off-by: Arne Schwabe Acked-by: Frank Lichtenheld Message-Id: <20211207170211.3275837-12-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23337.html Signed-off-by: Gert Doering --- src/openvpn/init.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/openvpn/init.c b/src/openvpn/init.c index bcb21d60c..e87237140 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -3024,7 +3024,7 @@ do_init_crypto_tls(struct context *c, const unsigned int flags) } static void -do_init_finalize_tls_frame(struct context *c) +do_init_frame_tls(struct context *c) { if (c->c2.tls_multi) { @@ -3281,12 +3281,6 @@ do_option_warnings(struct context *c) } } -static void -do_init_frame_tls(struct context *c) -{ - do_init_finalize_tls_frame(c); -} - struct context_buffers * init_context_buffers(const struct frame *frame) { -- 2.47.2