]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove pointless do_init_frame_tls function
authorArne Schwabe <arne@rfc2549.org>
Tue, 7 Dec 2021 17:02:01 +0000 (18:02 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 31 Dec 2021 11:36:59 +0000 (12:36 +0100)
This function is static and just calls another functions.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
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 <gert@greenie.muc.de>
src/openvpn/init.c

index bcb21d60c5e75d2952c6e20ea414aa75bc1bc8b2..e87237140c25ccd76fb5722e617dd81377aa2cf0 100644 (file)
@@ -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)
 {