[core] Remove stale includes from application.cpp

socket.h is unused after #15931 moved the host wake mechanism to
wake.cpp. lwip_fast_select.h is already included via application.h
under the same guard.
This commit is contained in:
J. Nick Koston
2026-04-23 05:12:12 -05:00
parent 43a371caab
commit 14bd2f5a52
-7
View File
@@ -12,9 +12,6 @@
#include <esp_ota_ops.h>
#include <esp_bootloader_desc.h>
#endif
#ifdef USE_LWIP_FAST_SELECT
#include "esphome/core/lwip_fast_select.h"
#endif // USE_LWIP_FAST_SELECT
#include "esphome/core/version.h"
#include "esphome/core/hal.h"
#include <algorithm>
@@ -24,10 +21,6 @@
#include "esphome/components/status_led/status_led.h"
#endif
#if (defined(USE_ESP8266) || defined(USE_RP2040)) && defined(USE_SOCKET_IMPL_LWIP_TCP)
#include "esphome/components/socket/socket.h"
#endif
namespace esphome {
static const char *const TAG = "app";