diff --git a/esphome/components/usb_uart/usb_uart.cpp b/esphome/components/usb_uart/usb_uart.cpp index c6a0e56adc..aea8234b55 100644 --- a/esphome/components/usb_uart/usb_uart.cpp +++ b/esphome/components/usb_uart/usb_uart.cpp @@ -175,9 +175,7 @@ void USBUartComponent::loop() { // Process USB data from the lock-free queue UsbDataChunk *chunk; - int chunks_processed = 0; while ((chunk = this->usb_data_queue_.pop()) != nullptr) { - chunks_processed++; auto *channel = chunk->channel; #ifdef USE_UART_DEBUGGER @@ -194,11 +192,6 @@ void USBUartComponent::loop() { this->chunk_pool_.release(chunk); } - static constexpr int LOG_CHUNK_THRESHOLD = 5; - if (chunks_processed > LOG_CHUNK_THRESHOLD) { - ESP_LOGV(TAG, "Processed %d chunks from USB queue", chunks_processed); - } - // Log dropped USB data periodically uint16_t dropped = this->usb_data_queue_.get_and_reset_dropped_count(); if (dropped > 0) {