From 9bd936fa34a2d8a1b0f71836456d7933fbf131a6 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Tue, 29 Oct 2024 11:59:36 -0400 Subject: [PATCH] mapport: drop unnecessary function --- src/mapport.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/mapport.cpp b/src/mapport.cpp index 066370287d85c..a0a1b0a23aab8 100644 --- a/src/mapport.cpp +++ b/src/mapport.cpp @@ -161,14 +161,9 @@ static void DispatchMapPort() } } -static void MapPortProtoSetEnabled(bool enabled) -{ - g_mapport_enabled = enabled; -} - void StartMapPort(bool enable) { - MapPortProtoSetEnabled(enable); + g_mapport_enabled = enable; DispatchMapPort(); }