Skip to content

Commit 9bd936f

Browse files
committed
mapport: drop unnecessary function
1 parent 2a6536c commit 9bd936f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/mapport.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,9 @@ static void DispatchMapPort()
161161
}
162162
}
163163

164-
static void MapPortProtoSetEnabled(bool enabled)
165-
{
166-
g_mapport_enabled = enabled;
167-
}
168-
169164
void StartMapPort(bool enable)
170165
{
171-
MapPortProtoSetEnabled(enable);
166+
g_mapport_enabled = enable;
172167
DispatchMapPort();
173168
}
174169

0 commit comments

Comments
 (0)