]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Remove NOP function and callers
authorDavid Sommerseth <dazo@privateinternetaccess.com>
Thu, 7 Jul 2016 11:03:16 +0000 (13:03 +0200)
committerDavid Sommerseth <dazo@privateinternetaccess.com>
Thu, 7 Jul 2016 15:23:29 +0000 (17:23 +0200)
multi_release_io_lock() and the calls to this function are not providing
anything at all.  Lets remove it and make the overall code less suprising.

Signed-off-by: David Sommerseth <dazo@privateinternetaccess.com>
Acked-by: Arne Schwabe <arne@rfc2549.org>
Message-Id: <1467889519-8193-1-git-send-email-openvpn@sf.lists.topphemmelig.net>
URL: http://article.gmane.org/gmane.network.openvpn.devel/12058
(cherry picked from commit 365506d1704f91f827f6e063dc87b325c40e9f29)

src/openvpn/mudp.c
src/openvpn/multi.h

index 3468dab5b6c2113954c4655811252b4073e7bb72..2d6d68454d6ce1277017c26f890cb4fc8a43b086 100644 (file)
@@ -168,7 +168,6 @@ multi_process_io_udp (struct multi_context *m)
   else if (status & SOCKET_READ)
     {
       read_incoming_link (&m->top);
-      multi_release_io_lock (m);
       if (!IS_SIG (&m->top))
        multi_process_incoming_link (m, NULL, mpp_flags);
     }
@@ -176,7 +175,6 @@ multi_process_io_udp (struct multi_context *m)
   else if (status & TUN_READ)
     {
       read_incoming_tun (&m->top);
-      multi_release_io_lock (m);
       if (!IS_SIG (&m->top))
        multi_process_incoming_tun (m, mpp_flags);
     }
index 2bc0c8a1c41014b2f03ed46fbc1787201f72c54a..7bfbb11926417c53caeef1168eeb761bee8fb961 100644 (file)
@@ -573,10 +573,5 @@ multi_set_pending (struct multi_context *m, struct multi_instance *mi)
   m->pending = mi;
 }
 
-static inline void
-multi_release_io_lock (struct multi_context *m)
-{
-}
-
 #endif /* P2MP_SERVER */
 #endif /* MULTI_H */