diff --git a/libraries/lwIP_Ethernet/src/LwipEthernet.cpp b/libraries/lwIP_Ethernet/src/LwipEthernet.cpp index 51af6379b..29ed44501 100644 --- a/libraries/lwIP_Ethernet/src/LwipEthernet.cpp +++ b/libraries/lwIP_Ethernet/src/LwipEthernet.cpp @@ -206,7 +206,6 @@ int hostByName(const char* aHostname, IPAddress& aResult, int timeout_ms) { return 0; } -uint32_t __ethernet_timeout_reached_calls = 0; static uint32_t _pollingPeriod = 20; // We have a background pump which calls sys_check_timeouts on a periodic basis @@ -241,7 +240,6 @@ static void ethernetTask(void *param) { // This will only be called under the protection of the async context mutex, so no re-entrancy checks needed static void ethernet_timeout_reached(__unused async_context_t *context, __unused async_at_time_worker_t *worker) { assert(worker == ðernet_timeout_worker); - __ethernet_timeout_reached_calls++; ethernet_arch_lwip_gpio_mask(); // Ensure non-polled devices won't interrupt us for (auto handlePacket : _handlePacketList) { handlePacket.second();