Skip to content

Commit 38fdf7c

Browse files
committed
mapport: drop outdated comments
1 parent b7b2435 commit 38fdf7c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/mapport.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ static void ThreadMapPort()
129129
do {
130130
ok = false;
131131

132-
// High priority protocol.
133132
if (g_mapport_enabled_protos & MapPortProtoFlag::PCP) {
134133
g_mapport_current_proto = MapPortProtoFlag::PCP;
135134
ok = ProcessPCP();
@@ -170,14 +169,11 @@ static void DispatchMapPort()
170169
}
171170

172171
if (g_mapport_enabled_protos & g_mapport_current_proto) {
173-
// Enabling another protocol does not cause switching from the currently used one.
174172
return;
175173
}
176174

177175
assert(g_mapport_thread.joinable());
178176
assert(!g_mapport_interrupt);
179-
// Interrupt a protocol-specific loop in the ThreadPCP()
180-
// to force trying the next protocol in the ThreadMapPort() loop.
181177
g_mapport_interrupt();
182178
}
183179

0 commit comments

Comments
 (0)