From 38fdf7c1fb1946820236c319ad44c7bcbf0c6a98 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Fri, 25 Oct 2024 14:39:03 -0400 Subject: [PATCH] mapport: drop outdated comments --- src/mapport.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mapport.cpp b/src/mapport.cpp index cd8297c8445..5972561fd79 100644 --- a/src/mapport.cpp +++ b/src/mapport.cpp @@ -129,7 +129,6 @@ static void ThreadMapPort() do { ok = false; - // High priority protocol. if (g_mapport_enabled_protos & MapPortProtoFlag::PCP) { g_mapport_current_proto = MapPortProtoFlag::PCP; ok = ProcessPCP(); @@ -170,14 +169,11 @@ static void DispatchMapPort() } if (g_mapport_enabled_protos & g_mapport_current_proto) { - // Enabling another protocol does not cause switching from the currently used one. return; } assert(g_mapport_thread.joinable()); assert(!g_mapport_interrupt); - // Interrupt a protocol-specific loop in the ThreadPCP() - // to force trying the next protocol in the ThreadMapPort() loop. g_mapport_interrupt(); }