Skip to content

Commit 8e3d107

Browse files
committed
esp_wifi_adapter: remove common unused calls
Remove coex_is_in_isr() that is not used. Signed-off-by: Sylvio Alves <[email protected]>
1 parent d5f39e6 commit 8e3d107

File tree

5 files changed

+0
-25
lines changed

5 files changed

+0
-25
lines changed

zephyr/esp32c2/src/wifi/esp_wifi_adapter.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -858,11 +858,6 @@ static void esp_phy_disable_wrapper(void)
858858
esp_phy_disable(PHY_MODEM_WIFI);
859859
}
860860

861-
int32_t IRAM_ATTR coex_is_in_isr_wrapper(void)
862-
{
863-
return !k_is_in_isr();
864-
}
865-
866861
static void esp_log_writev_wrapper(uint32_t level, const char *tag, const char *format, va_list args)
867862
{
868863
#if CONFIG_WIFI_LOG_LEVEL >= LOG_LEVEL_DBG

zephyr/esp32c3/src/wifi/esp_wifi_adapter.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -858,11 +858,6 @@ static void esp_phy_disable_wrapper(void)
858858
esp_phy_disable(PHY_MODEM_WIFI);
859859
}
860860

861-
int32_t IRAM_ATTR coex_is_in_isr_wrapper(void)
862-
{
863-
return !k_is_in_isr();
864-
}
865-
866861
static void esp_log_writev_wrapper(uint32_t level, const char *tag, const char *format, va_list args)
867862
{
868863
#if CONFIG_WIFI_LOG_LEVEL >= LOG_LEVEL_DBG

zephyr/esp32c6/src/wifi/esp_wifi_adapter.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -845,11 +845,6 @@ static void IRAM_ATTR esp_empty_wrapper(void)
845845

846846
}
847847

848-
int32_t IRAM_ATTR coex_is_in_isr_wrapper(void)
849-
{
850-
return !k_is_in_isr();
851-
}
852-
853848
static void esp_log_writev_wrapper(uint32_t level, const char *tag, const char *format, va_list args)
854849
{
855850
#if CONFIG_WIFI_LOG_LEVEL >= LOG_LEVEL_DBG

zephyr/esp32s2/src/wifi/esp_wifi_adapter.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -762,11 +762,6 @@ static void esp_phy_disable_wrapper(void)
762762
esp_phy_disable(PHY_MODEM_WIFI);
763763
}
764764

765-
int32_t IRAM_ATTR coex_is_in_isr_wrapper(void)
766-
{
767-
return !k_is_in_isr();
768-
}
769-
770765
static void esp_log_writev_wrapper(uint32_t level, const char *tag, const char *format, va_list args)
771766
{
772767
#if CONFIG_WIFI_LOG_LEVEL >= LOG_LEVEL_DBG

zephyr/esp32s3/src/wifi/esp_wifi_adapter.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -790,11 +790,6 @@ static void esp_phy_disable_wrapper(void)
790790
esp_phy_disable(PHY_MODEM_WIFI);
791791
}
792792

793-
int32_t IRAM_ATTR coex_is_in_isr_wrapper(void)
794-
{
795-
return !k_is_in_isr();
796-
}
797-
798793
static void esp_log_writev_wrapper(uint32_t level, const char *tag, const char *format, va_list args)
799794
{
800795
#if CONFIG_WIFI_LOG_LEVEL >= LOG_LEVEL_DBG

0 commit comments

Comments
 (0)