From: Arne Schwabe Date: Tue, 7 Dec 2021 17:02:01 +0000 (+0100) Subject: Remove pointless do_init_frame_tls function X-Git-Tag: v2.6_beta1~341 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b6fcdc0280c9e56c4ce0f348cab7511b809b839;p=thirdparty%2Fopenvpn.git 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 --- 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) {