From cfd0cc0d1a66ba7ec5240ba4542c7a3f759932f0 Mon Sep 17 00:00:00 2001 From: Huang Qi Date: Wed, 8 Jan 2025 23:30:35 +0800 Subject: [PATCH] Remove duplicate includes across multiple files This commit cleans up redundant header file includes throughout the codebase. The changes include: - Removing duplicate #include directives that were present in the same file - Consolidating includes that were split across multiple lines unnecessarily - Removing unused includes that were no longer needed - Fixing some formatting issues with includes The changes improve code organization and maintainability by: - Reducing unnecessary dependencies - Making include dependencies more explicit - Following consistent include patterns - Removing dead code No functional changes are made - this is purely a code cleanup commit. Signed-off-by: Huang Qi --- arch/arm/src/at32/at32_adc.c | 1 - arch/arm/src/at32/at32_eth.c | 1 - arch/arm/src/cxd56xx/cxd56_charger.c | 1 - arch/arm/src/cxd56xx/cxd56_gauge.c | 1 - arch/arm/src/efm32/efm32_adc.c | 1 - arch/arm/src/efm32/efm32_irq.c | 1 - arch/arm/src/eoss3/eoss3_irq.c | 1 - arch/arm/src/imx9/imx9_lowputc.c | 1 - arch/arm/src/imxrt/imxrt_iomuxc_ver1.c | 6 ++---- arch/arm/src/imxrt/imxrt_iomuxc_ver2.c | 6 ++---- arch/arm/src/imxrt/imxrt_lpi2c.c | 1 - arch/arm/src/kinetis/kinetis_pindma.c | 1 - arch/arm/src/kl/kl_lowputc.c | 1 - arch/arm/src/lc823450/lc823450_adc.c | 1 - arch/arm/src/lc823450/lc823450_sddrv_dep.c | 1 - arch/arm/src/lpc17xx_40xx/lpc17_40_i2c.c | 1 - arch/arm/src/max326xx/hardware/max326_gcr.h | 6 ------ arch/arm/src/max326xx/max32660/max32660_serial.c | 2 -- arch/arm/src/mps/mps_start.c | 1 - arch/arm/src/nrf52/nrf52_flash.c | 1 - arch/arm/src/nrf52/nrf52_usbd.h | 1 - arch/arm/src/nrf53/nrf53_usbd.h | 3 +-- arch/arm/src/phy62xx/phyplus_stub.c | 1 - arch/arm/src/rp2040/rp2040_adc.c | 1 - arch/arm/src/rp2040/rp2040_ws2812.c | 1 - arch/arm/src/rp23xx/rp23xx_adc.c | 1 - arch/arm/src/rp23xx/rp23xx_ws2812.c | 1 - arch/arm/src/s32k1xx/s32k1xx_flexio_i2c.c | 1 - arch/arm/src/s32k1xx/s32k1xx_pindma.c | 1 - arch/arm/src/sama5/sam_rtc.c | 5 +---- arch/arm/src/stm32f7/stm32_adc.c | 1 - arch/arm/src/stm32wl5/stm32wl5_allocateheap.c | 1 - arch/arm/src/stm32wl5/stm32wl5_irq.c | 1 - arch/arm/src/stm32wl5/stm32wl5_lowputc.c | 1 - arch/arm/src/stm32wl5/stm32wl5_rcc.c | 1 - arch/arm/src/stm32wl5/stm32wl5_serial.c | 1 - arch/arm/src/stm32wl5/stm32wl5_start.c | 1 - arch/arm/src/stm32wl5/stm32wl5_tim.c | 1 - arch/arm/src/stm32wl5/stm32wl5_timerisr.c | 1 - arch/arm/src/tlsr82/tlsr82_spi_console.c | 2 -- arch/arm/src/tlsr82/tlsr82_timer_isr.c | 5 +---- arch/arm64/src/common/arm64_fatal.c | 1 - arch/risc-v/src/common/espressif/esp_efuse.c | 2 -- arch/risc-v/src/common/espressif/esp_temperature_sensor.c | 1 - arch/risc-v/src/common/espressif/esp_ws2812.c | 1 - arch/risc-v/src/common/riscv_swint.c | 1 - arch/risc-v/src/esp32c3-legacy/esp32c3_ice40.c | 2 -- arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.c | 1 - arch/risc-v/src/esp32c3/esp_wireless.c | 2 -- arch/risc-v/src/hpm6000/hpm_gpio.c | 1 - arch/risc-v/src/rv32m1/rv32m1_gpio.c | 1 - arch/sim/src/sim/posix/sim_tapdev.c | 1 - arch/x86_64/src/common/x86_64_syscall.c | 1 - arch/xtensa/src/common/espressif/esp_temperature_sensor.c | 1 - arch/xtensa/src/common/espressif/esp_ws2812.c | 1 - arch/xtensa/src/common/xtensa_swint.c | 1 - arch/xtensa/src/esp32/esp32_spiram.c | 1 - arch/xtensa/src/esp32s2/esp32s2_spiram.c | 1 - arch/xtensa/src/esp32s3/esp32s3_spiram.c | 1 - boards/arm/a1x/pcduino-a10/src/a1x_buttons.c | 2 -- boards/arm/am335x/beaglebone-black/src/am335x_buttons.c | 2 -- .../arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c | 2 -- boards/arm/imxrt/imxrt1020-evk/src/imxrt_bringup.c | 2 -- boards/arm/imxrt/imxrt1064-evk/src/imxrt_progmem.c | 3 --- boards/arm/imxrt/teensy-4.x/src/imxrt_bringup.c | 1 - boards/arm/kinetis/freedom-k28f/src/k28_sdhc.c | 1 - boards/arm/kinetis/freedom-k64f/src/k64_sdhc.c | 1 - boards/arm/kinetis/freedom-k66f/src/k66_sdhc.c | 1 - boards/arm/kinetis/twr-k64f120m/src/k64_sdhc.c | 1 - boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_ulan.c | 2 -- boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_bringup.c | 4 ---- .../arm/lpc17xx_40xx/zkit-arm-1769/src/lpc17_40_buttons.c | 1 - boards/arm/lpc54xx/lpcxpresso-lpc54628/src/lpc54_buttons.c | 2 -- boards/arm/max326xx/max32660-evsys/src/max326_button.c | 2 -- boards/arm/max326xx/max32660-evsys/src/max326_mmcsd.c | 1 - boards/arm/nrf52/common/src/nrf52_progmem.c | 1 - boards/arm/nrf53/common/src/nrf53_progmem.c | 1 - boards/arm/nrf91/common/src/nrf91_progmem.c | 1 - boards/arm/sam34/sam3u-ek/src/sam_buttons.c | 2 -- boards/arm/sam34/sam4e-ek/src/sam_buttons.c | 2 -- boards/arm/sam34/sam4l-xplained/src/sam_buttons.c | 2 -- boards/arm/sam34/sam4s-xplained-pro/src/sam_buttons.c | 2 -- boards/arm/sam34/sam4s-xplained/src/sam_buttons.c | 2 -- boards/arm/sama5/jupiter-nano/src/sam_buttons.c | 2 -- boards/arm/sama5/sama5d2-xult/src/sam_buttons.c | 2 -- boards/arm/sama5/sama5d3-xplained/src/sam_buttons.c | 2 -- boards/arm/sama5/sama5d3x-ek/src/sam_buttons.c | 2 -- boards/arm/sama5/sama5d4-ek/src/sam_buttons.c | 2 -- boards/arm/samd2l2/samd20-xplained/src/sam_buttons.c | 2 -- boards/arm/samd2l2/samd21-xplained/src/sam_buttons.c | 2 -- boards/arm/samd2l2/saml21-xplained/src/sam_buttons.c | 2 -- boards/arm/samv7/same70-qmtech/src/sam_buttons.c | 2 -- boards/arm/samv7/same70-xplained/src/sam_buttons.c | 2 -- boards/arm/samv7/samv71-xult/src/sam_buttons.c | 2 -- boards/arm/stm32/common/src/stm32_tone.c | 1 - boards/arm/stm32f7/stm32f777zit6-meadow/src/stm32_boot.c | 1 - boards/arm/stm32h7/linum-stm32h753bi/src/stm32_tone.c | 1 - boards/arm/stm32h7/nucleo-h743zi/src/stm32_progmem.c | 3 --- boards/arm/stm32l4/nucleo-l476rg/src/stm32_cc1101.c | 1 - boards/arm/stm32wl5/nucleo-wl55jc/src/stm32_leds.c | 1 - boards/arm/tiva/launchxl-cc1310/src/cc1310_buttons.c | 2 -- boards/arm/tiva/launchxl-cc1312r1/src/cc1312_buttons.c | 2 -- boards/arm/tms570/launchxl-tms57004/src/tms570_buttons.c | 2 -- boards/arm/tms570/tms570ls31x-usb-kit/src/tms570_buttons.c | 2 -- boards/renesas/rx65n/rx65n-grrose/src/rx65n_bringup.c | 2 -- boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_bringup.c | 2 -- .../esp32c3-devkit-rust-1/src/esp32c3_bringup.c | 2 -- .../esp32c3-legacy/esp32c3-devkit/src/esp32c3_bringup.c | 2 -- .../risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c | 1 - .../risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_bringup.c | 1 - boards/sim/sim/sim/src/sim_bringup.c | 1 - boards/xtensa/esp32/esp32-2432S028/src/esp32_bringup.c | 3 --- boards/xtensa/esp32/esp32-audio-kit/src/esp32_bringup.c | 5 ----- boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c | 6 ------ boards/xtensa/esp32/esp32-ethernet-kit/src/esp32_bringup.c | 4 ---- boards/xtensa/esp32/esp32-lyrat/src/esp32_bringup.c | 4 ---- boards/xtensa/esp32/esp32-pico-kit/src/esp32_bringup.c | 2 -- boards/xtensa/esp32/esp32-sparrow-kit/src/esp32_bringup.c | 3 --- boards/xtensa/esp32/esp32-wrover-kit/src/esp32_bringup.c | 3 --- .../xtensa/esp32/lilygo_tbeam_lora_gps/src/esp32_bringup.c | 2 -- boards/xtensa/esp32/ttgo_eink5_v2/src/esp32_bringup.c | 2 -- boards/xtensa/esp32/ttgo_lora_esp32/src/esp32_bringup.c | 2 -- .../xtensa/esp32/ttgo_t_display_esp32/src/esp32_bringup.c | 2 -- .../xtensa/esp32s2/esp32s2-kaluga-1/src/esp32s2_bringup.c | 2 -- .../xtensa/esp32s2/esp32s2-saola-1/src/esp32s2_bringup.c | 2 -- .../xtensa/esp32s2/franzininho-wifi/src/esp32s2_bringup.c | 2 -- boards/xtensa/esp32s3/common/src/esp32s3_lan9250.c | 1 - boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c | 2 -- boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c | 2 -- boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c | 2 -- .../xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c | 2 -- boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c | 2 -- boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_lcd.c | 1 - boards/xtensa/esp32s3/esp32s3-lhcbit/src/esp32s3_bringup.c | 2 -- boards/xtensa/esp32s3/esp32s3-meadow/src/esp32s3_bringup.c | 2 -- drivers/audio/tone.c | 1 - drivers/input/stmpe811_tsc.c | 1 - drivers/leds/rgbled.c | 1 - drivers/loop/losetup.c | 1 - drivers/mtd/mx25rxx.c | 1 - drivers/net/enc28j60.c | 1 - drivers/net/encx24j600.c | 1 - drivers/net/lan9250.c | 1 - drivers/sensors/kxtj9.c | 1 - drivers/wireless/bluetooth/bt_null.c | 1 - include/nuttx/lib/math.h | 7 ------- libs/libc/modlib/modlib_symtab.c | 1 - libs/libc/pthread/pthread_spinlock.c | 2 -- net/local/local.h | 1 - net/tcp/tcp_send_buffered.c | 1 - sched/misc/assert.c | 1 - sched/paging/pg_worker.c | 1 - 152 files changed, 7 insertions(+), 256 deletions(-) diff --git a/arch/arm/src/at32/at32_adc.c b/arch/arm/src/at32/at32_adc.c index d6a1b93073..437c46dedb 100644 --- a/arch/arm/src/at32/at32_adc.c +++ b/arch/arm/src/at32/at32_adc.c @@ -36,7 +36,6 @@ #include #include #include -#include #include #include diff --git a/arch/arm/src/at32/at32_eth.c b/arch/arm/src/at32/at32_eth.c index d231a7193a..be003545f5 100644 --- a/arch/arm/src/at32/at32_eth.c +++ b/arch/arm/src/at32/at32_eth.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include diff --git a/arch/arm/src/cxd56xx/cxd56_charger.c b/arch/arm/src/cxd56xx/cxd56_charger.c index d26aea8229..8d11d95de8 100644 --- a/arch/arm/src/cxd56xx/cxd56_charger.c +++ b/arch/arm/src/cxd56xx/cxd56_charger.c @@ -29,7 +29,6 @@ #include #include -#include #include #include diff --git a/arch/arm/src/cxd56xx/cxd56_gauge.c b/arch/arm/src/cxd56xx/cxd56_gauge.c index 3faaa5a9c0..58d2735313 100644 --- a/arch/arm/src/cxd56xx/cxd56_gauge.c +++ b/arch/arm/src/cxd56xx/cxd56_gauge.c @@ -27,7 +27,6 @@ ****************************************************************************/ #include -#include #include #include diff --git a/arch/arm/src/efm32/efm32_adc.c b/arch/arm/src/efm32/efm32_adc.c index c2bfe359ce..977fb0eec4 100644 --- a/arch/arm/src/efm32/efm32_adc.c +++ b/arch/arm/src/efm32/efm32_adc.c @@ -35,7 +35,6 @@ #include #include #include -#include #include #include diff --git a/arch/arm/src/efm32/efm32_irq.c b/arch/arm/src/efm32/efm32_irq.c index 5912f49090..990260d98c 100644 --- a/arch/arm/src/efm32/efm32_irq.c +++ b/arch/arm/src/efm32/efm32_irq.c @@ -33,7 +33,6 @@ #include #include -#include #include #include "nvic.h" diff --git a/arch/arm/src/eoss3/eoss3_irq.c b/arch/arm/src/eoss3/eoss3_irq.c index 9ce29d9538..575656ee31 100644 --- a/arch/arm/src/eoss3/eoss3_irq.c +++ b/arch/arm/src/eoss3/eoss3_irq.c @@ -33,7 +33,6 @@ #include #include -#include #include #include "nvic.h" diff --git a/arch/arm/src/imx9/imx9_lowputc.c b/arch/arm/src/imx9/imx9_lowputc.c index 496c33d0b5..c3d7023f59 100644 --- a/arch/arm/src/imx9/imx9_lowputc.c +++ b/arch/arm/src/imx9/imx9_lowputc.c @@ -41,7 +41,6 @@ #include "imx9_clockconfig.h" #include "imx9_iomuxc.h" #include "hardware/imx9_clock.h" -#include "hardware/imx9_pinmux.h" #include /* Include last: has dependencies */ diff --git a/arch/arm/src/imxrt/imxrt_iomuxc_ver1.c b/arch/arm/src/imxrt/imxrt_iomuxc_ver1.c index edcf6e1862..e47329f50c 100644 --- a/arch/arm/src/imxrt/imxrt_iomuxc_ver1.c +++ b/arch/arm/src/imxrt/imxrt_iomuxc_ver1.c @@ -24,13 +24,11 @@ * Included Files ****************************************************************************/ +#include + #include #include #include - -#include - -#include #include #include diff --git a/arch/arm/src/imxrt/imxrt_iomuxc_ver2.c b/arch/arm/src/imxrt/imxrt_iomuxc_ver2.c index df59823352..bf06da401f 100644 --- a/arch/arm/src/imxrt/imxrt_iomuxc_ver2.c +++ b/arch/arm/src/imxrt/imxrt_iomuxc_ver2.c @@ -24,13 +24,11 @@ * Included Files ****************************************************************************/ +#include + #include #include #include - -#include - -#include #include #include diff --git a/arch/arm/src/imxrt/imxrt_lpi2c.c b/arch/arm/src/imxrt/imxrt_lpi2c.c index 027a516d82..595eb56853 100644 --- a/arch/arm/src/imxrt/imxrt_lpi2c.c +++ b/arch/arm/src/imxrt/imxrt_lpi2c.c @@ -49,7 +49,6 @@ #include "imxrt_lpi2c.h" #include "imxrt_edma.h" #include "imxrt_gpio.h" -#include "imxrt_lpi2c.h" #include "hardware/imxrt_dmamux.h" #include "hardware/imxrt_pinmux.h" diff --git a/arch/arm/src/kinetis/kinetis_pindma.c b/arch/arm/src/kinetis/kinetis_pindma.c index e041cfcdee..9686d4ea02 100644 --- a/arch/arm/src/kinetis/kinetis_pindma.c +++ b/arch/arm/src/kinetis/kinetis_pindma.c @@ -34,7 +34,6 @@ #include -#include #include #include "arm_internal.h" #include "kinetis_config.h" diff --git a/arch/arm/src/kl/kl_lowputc.c b/arch/arm/src/kl/kl_lowputc.c index d34899ac6e..e68a9f594d 100644 --- a/arch/arm/src/kl/kl_lowputc.c +++ b/arch/arm/src/kl/kl_lowputc.c @@ -40,7 +40,6 @@ #include "hardware/kl_uart.h" #include "hardware/kl_sim.h" #include "hardware/kl_port.h" -#include "hardware/kl_uart.h" #include "hardware/kl_pinmux.h" /**************************************************************************** diff --git a/arch/arm/src/lc823450/lc823450_adc.c b/arch/arm/src/lc823450/lc823450_adc.c index ecec2bede9..0fa988693b 100644 --- a/arch/arm/src/lc823450/lc823450_adc.c +++ b/arch/arm/src/lc823450/lc823450_adc.c @@ -36,7 +36,6 @@ #include #include #include -#include #include diff --git a/arch/arm/src/lc823450/lc823450_sddrv_dep.c b/arch/arm/src/lc823450/lc823450_sddrv_dep.c index ee205fb8c5..5f39bdf5d7 100644 --- a/arch/arm/src/lc823450/lc823450_sddrv_dep.c +++ b/arch/arm/src/lc823450/lc823450_sddrv_dep.c @@ -59,7 +59,6 @@ #include "arm_internal.h" #include "lc823450_sddrv_type.h" #include "lc823450_sddrv_if.h" -#include "lc823450_dma.h" #include "lc823450_gpio.h" #include "lc823450_syscontrol.h" #include "lc823450_timer.h" diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_i2c.c b/arch/arm/src/lpc17xx_40xx/lpc17_40_i2c.c index 85d0fe4dab..642557ec6b 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_i2c.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_i2c.c @@ -65,7 +65,6 @@ #include "chip.h" #include "arm_internal.h" -#include "chip.h" #include "hardware/lpc17_40_syscon.h" #include "lpc17_40_gpio.h" #include "lpc17_40_i2c.h" diff --git a/arch/arm/src/max326xx/hardware/max326_gcr.h b/arch/arm/src/max326xx/hardware/max326_gcr.h index 77d25b89f5..689e3b93b1 100644 --- a/arch/arm/src/max326xx/hardware/max326_gcr.h +++ b/arch/arm/src/max326xx/hardware/max326_gcr.h @@ -23,12 +23,6 @@ #ifndef __ARCH_ARM_SRC_MAX326XX_HARDWARE_MAX326_GCR_H #define __ARCH_ARM_SRC_MAX326XX_HARDWARE_MAX326_GCR_H -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include - /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/arch/arm/src/max326xx/max32660/max32660_serial.c b/arch/arm/src/max326xx/max32660/max32660_serial.c index 8123f999c2..2690c39f85 100644 --- a/arch/arm/src/max326xx/max32660/max32660_serial.c +++ b/arch/arm/src/max326xx/max32660/max32660_serial.c @@ -50,8 +50,6 @@ #include "max326_lowputc.h" #include "max326_serial.h" -#include - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ diff --git a/arch/arm/src/mps/mps_start.c b/arch/arm/src/mps/mps_start.c index 31c2741b48..992d3d7c69 100644 --- a/arch/arm/src/mps/mps_start.c +++ b/arch/arm/src/mps/mps_start.c @@ -25,7 +25,6 @@ ****************************************************************************/ #include -#include #include #include diff --git a/arch/arm/src/nrf52/nrf52_flash.c b/arch/arm/src/nrf52/nrf52_flash.c index d166c8d6b8..8624dc2619 100644 --- a/arch/arm/src/nrf52/nrf52_flash.c +++ b/arch/arm/src/nrf52/nrf52_flash.c @@ -45,7 +45,6 @@ #include #include -#include #include #include "chip.h" diff --git a/arch/arm/src/nrf52/nrf52_usbd.h b/arch/arm/src/nrf52/nrf52_usbd.h index 068a2c8eb4..3966e66ab1 100644 --- a/arch/arm/src/nrf52/nrf52_usbd.h +++ b/arch/arm/src/nrf52/nrf52_usbd.h @@ -30,7 +30,6 @@ #include #include -#include #include #include diff --git a/arch/arm/src/nrf53/nrf53_usbd.h b/arch/arm/src/nrf53/nrf53_usbd.h index 3613221887..87ceb86197 100644 --- a/arch/arm/src/nrf53/nrf53_usbd.h +++ b/arch/arm/src/nrf53/nrf53_usbd.h @@ -28,9 +28,8 @@ ****************************************************************************/ #include -#include -#include +#include #include #include diff --git a/arch/arm/src/phy62xx/phyplus_stub.c b/arch/arm/src/phy62xx/phyplus_stub.c index 5c2122725d..59b6d3fe5f 100644 --- a/arch/arm/src/phy62xx/phyplus_stub.c +++ b/arch/arm/src/phy62xx/phyplus_stub.c @@ -42,7 +42,6 @@ #include "phyplus_tim.h" #include "timer.h" #include "mcu_phy_bumbee.h" -#include "phyplus_gpio.h" /**************************************************************************** * Pre-processor Definitions diff --git a/arch/arm/src/rp2040/rp2040_adc.c b/arch/arm/src/rp2040/rp2040_adc.c index 4dd18087a0..67bf171e8f 100644 --- a/arch/arm/src/rp2040/rp2040_adc.c +++ b/arch/arm/src/rp2040/rp2040_adc.c @@ -63,7 +63,6 @@ #include #include -#include #include #include diff --git a/arch/arm/src/rp2040/rp2040_ws2812.c b/arch/arm/src/rp2040/rp2040_ws2812.c index 105304bd37..9a033bcf64 100644 --- a/arch/arm/src/rp2040/rp2040_ws2812.c +++ b/arch/arm/src/rp2040/rp2040_ws2812.c @@ -28,7 +28,6 @@ #include #include -#include #include #include diff --git a/arch/arm/src/rp23xx/rp23xx_adc.c b/arch/arm/src/rp23xx/rp23xx_adc.c index 45363dd75b..f7914c7b2c 100644 --- a/arch/arm/src/rp23xx/rp23xx_adc.c +++ b/arch/arm/src/rp23xx/rp23xx_adc.c @@ -63,7 +63,6 @@ #include #include -#include #include #include diff --git a/arch/arm/src/rp23xx/rp23xx_ws2812.c b/arch/arm/src/rp23xx/rp23xx_ws2812.c index 8dc6642e18..e5eac2fb4e 100644 --- a/arch/arm/src/rp23xx/rp23xx_ws2812.c +++ b/arch/arm/src/rp23xx/rp23xx_ws2812.c @@ -28,7 +28,6 @@ #include #include -#include #include #include diff --git a/arch/arm/src/s32k1xx/s32k1xx_flexio_i2c.c b/arch/arm/src/s32k1xx/s32k1xx_flexio_i2c.c index 4fcccd885a..35070dba10 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_flexio_i2c.c +++ b/arch/arm/src/s32k1xx/s32k1xx_flexio_i2c.c @@ -47,7 +47,6 @@ #include "arm_internal.h" #include "s32k1xx_edma.h" -#include "s32k1xx_pin.h" #include "hardware/s32k1xx_dmamux.h" #include "hardware/s32k1xx_pinmux.h" #include "s32k1xx_flexio_i2c.h" diff --git a/arch/arm/src/s32k1xx/s32k1xx_pindma.c b/arch/arm/src/s32k1xx/s32k1xx_pindma.c index f67f9a247b..0d9b6b699b 100644 --- a/arch/arm/src/s32k1xx/s32k1xx_pindma.c +++ b/arch/arm/src/s32k1xx/s32k1xx_pindma.c @@ -32,7 +32,6 @@ #include #include -#include #include #include "arm_internal.h" #include "s32k1xx_pin.h" diff --git a/arch/arm/src/sama5/sam_rtc.c b/arch/arm/src/sama5/sam_rtc.c index e852a5645f..a47ed21cb9 100644 --- a/arch/arm/src/sama5/sam_rtc.c +++ b/arch/arm/src/sama5/sam_rtc.c @@ -28,16 +28,13 @@ #include #include +#include #include #include #include #include -#include -#include -#include - #include #include "arm_internal.h" diff --git a/arch/arm/src/stm32f7/stm32_adc.c b/arch/arm/src/stm32f7/stm32_adc.c index 1b3aaade7b..ec7965c869 100644 --- a/arch/arm/src/stm32f7/stm32_adc.c +++ b/arch/arm/src/stm32f7/stm32_adc.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include diff --git a/arch/arm/src/stm32wl5/stm32wl5_allocateheap.c b/arch/arm/src/stm32wl5/stm32wl5_allocateheap.c index 625e396de7..02f7e3a10a 100644 --- a/arch/arm/src/stm32wl5/stm32wl5_allocateheap.c +++ b/arch/arm/src/stm32wl5/stm32wl5_allocateheap.c @@ -41,7 +41,6 @@ #include "chip.h" #include "mpu.h" #include "arm_internal.h" -#include "arm_internal.h" #include "stm32wl5_mpuinit.h" #include "stm32wl5_ipcc.h" diff --git a/arch/arm/src/stm32wl5/stm32wl5_irq.c b/arch/arm/src/stm32wl5/stm32wl5_irq.c index 11ad5cbc7c..32c62e4adc 100644 --- a/arch/arm/src/stm32wl5/stm32wl5_irq.c +++ b/arch/arm/src/stm32wl5/stm32wl5_irq.c @@ -38,7 +38,6 @@ #include "nvic.h" #include "ram_vectors.h" #include "arm_internal.h" -#include "arm_internal.h" #include "stm32wl5.h" /**************************************************************************** diff --git a/arch/arm/src/stm32wl5/stm32wl5_lowputc.c b/arch/arm/src/stm32wl5/stm32wl5_lowputc.c index eacbe6ac86..06a47209fc 100644 --- a/arch/arm/src/stm32wl5/stm32wl5_lowputc.c +++ b/arch/arm/src/stm32wl5/stm32wl5_lowputc.c @@ -30,7 +30,6 @@ #include -#include "arm_internal.h" #include "arm_internal.h" #include "chip.h" diff --git a/arch/arm/src/stm32wl5/stm32wl5_rcc.c b/arch/arm/src/stm32wl5/stm32wl5_rcc.c index dd6bf1e397..e9e3b7d863 100644 --- a/arch/arm/src/stm32wl5/stm32wl5_rcc.c +++ b/arch/arm/src/stm32wl5/stm32wl5_rcc.c @@ -33,7 +33,6 @@ #include -#include "arm_internal.h" #include "arm_internal.h" #include "chip.h" diff --git a/arch/arm/src/stm32wl5/stm32wl5_serial.c b/arch/arm/src/stm32wl5/stm32wl5_serial.c index e9da9162ee..826aa39ff8 100644 --- a/arch/arm/src/stm32wl5/stm32wl5_serial.c +++ b/arch/arm/src/stm32wl5/stm32wl5_serial.c @@ -57,7 +57,6 @@ #endif #include "stm32wl5_rcc.h" #include "arm_internal.h" -#include "arm_internal.h" /**************************************************************************** * Pre-processor Definitions diff --git a/arch/arm/src/stm32wl5/stm32wl5_start.c b/arch/arm/src/stm32wl5/stm32wl5_start.c index a5075eaac0..6b3370b3f5 100644 --- a/arch/arm/src/stm32wl5/stm32wl5_start.c +++ b/arch/arm/src/stm32wl5/stm32wl5_start.c @@ -33,7 +33,6 @@ #include #include -#include "arm_internal.h" #include "arm_internal.h" #include "nvic.h" diff --git a/arch/arm/src/stm32wl5/stm32wl5_tim.c b/arch/arm/src/stm32wl5/stm32wl5_tim.c index 8a2ff45d86..79841b494f 100644 --- a/arch/arm/src/stm32wl5/stm32wl5_tim.c +++ b/arch/arm/src/stm32wl5/stm32wl5_tim.c @@ -40,7 +40,6 @@ #include "chip.h" #include "arm_internal.h" -#include "arm_internal.h" #include "stm32wl5.h" #include "stm32wl5_gpio.h" diff --git a/arch/arm/src/stm32wl5/stm32wl5_timerisr.c b/arch/arm/src/stm32wl5/stm32wl5_timerisr.c index cd1efb1736..3f9e14d3db 100644 --- a/arch/arm/src/stm32wl5/stm32wl5_timerisr.c +++ b/arch/arm/src/stm32wl5/stm32wl5_timerisr.c @@ -35,7 +35,6 @@ #include "nvic.h" #include "clock/clock.h" #include "arm_internal.h" -#include "arm_internal.h" #include "chip.h" #include "stm32wl5.h" diff --git a/arch/arm/src/tlsr82/tlsr82_spi_console.c b/arch/arm/src/tlsr82/tlsr82_spi_console.c index 8923c28f5b..6de71dc6b5 100644 --- a/arch/arm/src/tlsr82/tlsr82_spi_console.c +++ b/arch/arm/src/tlsr82/tlsr82_spi_console.c @@ -26,14 +26,12 @@ #include #include -#include #include #include #include #include #include -#include #include #include diff --git a/arch/arm/src/tlsr82/tlsr82_timer_isr.c b/arch/arm/src/tlsr82/tlsr82_timer_isr.c index 052e5dab86..b59cb66722 100644 --- a/arch/arm/src/tlsr82/tlsr82_timer_isr.c +++ b/arch/arm/src/tlsr82/tlsr82_timer_isr.c @@ -26,13 +26,10 @@ #include #include -#include +#include #include #include - -#include -#include #include #include "arm_internal.h" diff --git a/arch/arm64/src/common/arm64_fatal.c b/arch/arm64/src/common/arm64_fatal.c index 0fd25548df..a991bc7378 100644 --- a/arch/arm64/src/common/arm64_fatal.c +++ b/arch/arm64/src/common/arm64_fatal.c @@ -46,7 +46,6 @@ #include "arm64_internal.h" #include "arm64_fatal.h" #include "arm64_mmu.h" -#include "arm64_fatal.h" #include "arm64_arch_timer.h" #ifdef CONFIG_ARCH_FPU diff --git a/arch/risc-v/src/common/espressif/esp_efuse.c b/arch/risc-v/src/common/espressif/esp_efuse.c index ce6b5cbfb5..cc9d654fb4 100644 --- a/arch/risc-v/src/common/espressif/esp_efuse.c +++ b/arch/risc-v/src/common/espressif/esp_efuse.c @@ -26,12 +26,10 @@ #include #include -#include #include #include #include #include -#include #include #include #include diff --git a/arch/risc-v/src/common/espressif/esp_temperature_sensor.c b/arch/risc-v/src/common/espressif/esp_temperature_sensor.c index f256055e8c..a4e198c679 100644 --- a/arch/risc-v/src/common/espressif/esp_temperature_sensor.c +++ b/arch/risc-v/src/common/espressif/esp_temperature_sensor.c @@ -44,7 +44,6 @@ #include #include #include -#include #include #ifdef CONFIG_ESPRESSIF_TEMP_UORB #include diff --git a/arch/risc-v/src/common/espressif/esp_ws2812.c b/arch/risc-v/src/common/espressif/esp_ws2812.c index c94261e5ad..642b9bf37d 100644 --- a/arch/risc-v/src/common/espressif/esp_ws2812.c +++ b/arch/risc-v/src/common/espressif/esp_ws2812.c @@ -26,7 +26,6 @@ #include #include -#include #include #include diff --git a/arch/risc-v/src/common/riscv_swint.c b/arch/risc-v/src/common/riscv_swint.c index 2266cbafab..9ecd4c78e0 100644 --- a/arch/risc-v/src/common/riscv_swint.c +++ b/arch/risc-v/src/common/riscv_swint.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include diff --git a/arch/risc-v/src/esp32c3-legacy/esp32c3_ice40.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_ice40.c index 0694e3ad52..42e9ef59ed 100644 --- a/arch/risc-v/src/esp32c3-legacy/esp32c3_ice40.c +++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_ice40.c @@ -55,8 +55,6 @@ #include "esp32c3_gpio.h" -#include - /**************************************************************************** * Private Function Prototypes ****************************************************************************/ diff --git a/arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.c index 9a4676be3d..1920b82dab 100644 --- a/arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.c +++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_wireless.c @@ -39,7 +39,6 @@ #include "esp32c3.h" #include "esp32c3_irq.h" #include "esp32c3_attr.h" -#include "esp32c3_wireless.h" #include "espidf_wifi.h" /**************************************************************************** diff --git a/arch/risc-v/src/esp32c3/esp_wireless.c b/arch/risc-v/src/esp32c3/esp_wireless.c index 1389393339..39543689b6 100644 --- a/arch/risc-v/src/esp32c3/esp_wireless.c +++ b/arch/risc-v/src/esp32c3/esp_wireless.c @@ -39,8 +39,6 @@ #include "esp_private/phy.h" #include "espressif/esp_hr_timer.h" -#include "esp_private/phy.h" - #include "periph_ctrl.h" #include "esp_phy_init.h" #include "phy_init_data.h" diff --git a/arch/risc-v/src/hpm6000/hpm_gpio.c b/arch/risc-v/src/hpm6000/hpm_gpio.c index b1016d93e5..38d979f74f 100644 --- a/arch/risc-v/src/hpm6000/hpm_gpio.c +++ b/arch/risc-v/src/hpm6000/hpm_gpio.c @@ -41,7 +41,6 @@ #include "hardware/hpm_gpio.h" #include "hpm_gpio.h" #include "riscv_internal.h" -#include "hpm_gpio.h" #include "hpm_ioc.h" /*************************************************************************** diff --git a/arch/risc-v/src/rv32m1/rv32m1_gpio.c b/arch/risc-v/src/rv32m1/rv32m1_gpio.c index 3e6f42f0a4..e53eb70bc7 100644 --- a/arch/risc-v/src/rv32m1/rv32m1_gpio.c +++ b/arch/risc-v/src/rv32m1/rv32m1_gpio.c @@ -34,7 +34,6 @@ #include #include -#include #include #include diff --git a/arch/sim/src/sim/posix/sim_tapdev.c b/arch/sim/src/sim/posix/sim_tapdev.c index 48d8fba1b6..569a7a9e3f 100644 --- a/arch/sim/src/sim/posix/sim_tapdev.c +++ b/arch/sim/src/sim/posix/sim_tapdev.c @@ -64,7 +64,6 @@ #include #include #include -#include #include #include diff --git a/arch/x86_64/src/common/x86_64_syscall.c b/arch/x86_64/src/common/x86_64_syscall.c index a9412ed2bc..960b992bb0 100644 --- a/arch/x86_64/src/common/x86_64_syscall.c +++ b/arch/x86_64/src/common/x86_64_syscall.c @@ -36,7 +36,6 @@ #include #include #include -#include #include "x86_64_internal.h" diff --git a/arch/xtensa/src/common/espressif/esp_temperature_sensor.c b/arch/xtensa/src/common/espressif/esp_temperature_sensor.c index 5cf6d62358..6c72db2562 100644 --- a/arch/xtensa/src/common/espressif/esp_temperature_sensor.c +++ b/arch/xtensa/src/common/espressif/esp_temperature_sensor.c @@ -44,7 +44,6 @@ #include #include #include -#include #include #ifdef CONFIG_ESPRESSIF_TEMP_UORB #include diff --git a/arch/xtensa/src/common/espressif/esp_ws2812.c b/arch/xtensa/src/common/espressif/esp_ws2812.c index 10a25428fc..681feab6a5 100644 --- a/arch/xtensa/src/common/espressif/esp_ws2812.c +++ b/arch/xtensa/src/common/espressif/esp_ws2812.c @@ -26,7 +26,6 @@ #include #include -#include #include #include diff --git a/arch/xtensa/src/common/xtensa_swint.c b/arch/xtensa/src/common/xtensa_swint.c index 5a356a8bcb..f357b5a479 100644 --- a/arch/xtensa/src/common/xtensa_swint.c +++ b/arch/xtensa/src/common/xtensa_swint.c @@ -37,7 +37,6 @@ #include "sched/sched.h" #include "chip.h" #include "signal/signal.h" -#include "sched/sched.h" #include "xtensa.h" /**************************************************************************** diff --git a/arch/xtensa/src/esp32/esp32_spiram.c b/arch/xtensa/src/esp32/esp32_spiram.c index 2e9f6d6a85..0b94d27490 100644 --- a/arch/xtensa/src/esp32/esp32_spiram.c +++ b/arch/xtensa/src/esp32/esp32_spiram.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include diff --git a/arch/xtensa/src/esp32s2/esp32s2_spiram.c b/arch/xtensa/src/esp32s2/esp32s2_spiram.c index b02b7c48bd..8a8c09357b 100644 --- a/arch/xtensa/src/esp32s2/esp32s2_spiram.c +++ b/arch/xtensa/src/esp32s2/esp32s2_spiram.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include "xtensa.h" diff --git a/arch/xtensa/src/esp32s3/esp32s3_spiram.c b/arch/xtensa/src/esp32s3/esp32s3_spiram.c index c8ee1c57a8..d8b6259610 100644 --- a/arch/xtensa/src/esp32s3/esp32s3_spiram.c +++ b/arch/xtensa/src/esp32s3/esp32s3_spiram.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include diff --git a/boards/arm/a1x/pcduino-a10/src/a1x_buttons.c b/boards/arm/a1x/pcduino-a10/src/a1x_buttons.c index 0b134907d4..9f524a2782 100644 --- a/boards/arm/a1x/pcduino-a10/src/a1x_buttons.c +++ b/boards/arm/a1x/pcduino-a10/src/a1x_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/am335x/beaglebone-black/src/am335x_buttons.c b/boards/arm/am335x/beaglebone-black/src/am335x_buttons.c index 11887b9d0f..e77667709f 100644 --- a/boards/arm/am335x/beaglebone-black/src/am335x_buttons.c +++ b/boards/arm/am335x/beaglebone-black/src/am335x_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c b/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c index 443ba01a32..62cc2779f7 100644 --- a/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c +++ b/boards/arm/efm32/olimex-efm32g880f128-stk/src/efm32_buttons.c @@ -44,8 +44,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/imxrt/imxrt1020-evk/src/imxrt_bringup.c b/boards/arm/imxrt/imxrt1020-evk/src/imxrt_bringup.c index 6acfa52986..de5db6144c 100644 --- a/boards/arm/imxrt/imxrt1020-evk/src/imxrt_bringup.c +++ b/boards/arm/imxrt/imxrt1020-evk/src/imxrt_bringup.c @@ -55,8 +55,6 @@ # include #endif -#include "imxrt1020-evk.h" - #include /* Must always be included last */ /**************************************************************************** diff --git a/boards/arm/imxrt/imxrt1064-evk/src/imxrt_progmem.c b/boards/arm/imxrt/imxrt1064-evk/src/imxrt_progmem.c index 36573ef928..0d95f53bdc 100644 --- a/boards/arm/imxrt/imxrt1064-evk/src/imxrt_progmem.c +++ b/boards/arm/imxrt/imxrt1064-evk/src/imxrt_progmem.c @@ -40,9 +40,6 @@ #include #include #include -#ifdef CONFIG_BCH -#include -#endif #include "imxrt1064-evk.h" diff --git a/boards/arm/imxrt/teensy-4.x/src/imxrt_bringup.c b/boards/arm/imxrt/teensy-4.x/src/imxrt_bringup.c index 0db8b1aa77..051a6eb450 100644 --- a/boards/arm/imxrt/teensy-4.x/src/imxrt_bringup.c +++ b/boards/arm/imxrt/teensy-4.x/src/imxrt_bringup.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include diff --git a/boards/arm/kinetis/freedom-k28f/src/k28_sdhc.c b/boards/arm/kinetis/freedom-k28f/src/k28_sdhc.c index 8abbef4894..f44f65050f 100644 --- a/boards/arm/kinetis/freedom-k28f/src/k28_sdhc.c +++ b/boards/arm/kinetis/freedom-k28f/src/k28_sdhc.c @@ -51,7 +51,6 @@ #include #include #include -#include #include #include diff --git a/boards/arm/kinetis/freedom-k64f/src/k64_sdhc.c b/boards/arm/kinetis/freedom-k64f/src/k64_sdhc.c index 67d30fbdba..18121fdc7f 100644 --- a/boards/arm/kinetis/freedom-k64f/src/k64_sdhc.c +++ b/boards/arm/kinetis/freedom-k64f/src/k64_sdhc.c @@ -51,7 +51,6 @@ #include #include #include -#include #include #include diff --git a/boards/arm/kinetis/freedom-k66f/src/k66_sdhc.c b/boards/arm/kinetis/freedom-k66f/src/k66_sdhc.c index 8748b6dc9a..c08e1d1dda 100644 --- a/boards/arm/kinetis/freedom-k66f/src/k66_sdhc.c +++ b/boards/arm/kinetis/freedom-k66f/src/k66_sdhc.c @@ -50,7 +50,6 @@ #include #include #include -#include #include #include diff --git a/boards/arm/kinetis/twr-k64f120m/src/k64_sdhc.c b/boards/arm/kinetis/twr-k64f120m/src/k64_sdhc.c index 997a8779f9..361ae7f768 100644 --- a/boards/arm/kinetis/twr-k64f120m/src/k64_sdhc.c +++ b/boards/arm/kinetis/twr-k64f120m/src/k64_sdhc.c @@ -51,7 +51,6 @@ #include #include #include -#include #include #include diff --git a/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_ulan.c b/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_ulan.c index 23261d04ae..cb2a1dc7c3 100644 --- a/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_ulan.c +++ b/boards/arm/lpc17xx_40xx/lx_cpu/src/lpc17_40_ulan.c @@ -38,8 +38,6 @@ #include "lpc17_40_gpio.h" #include "arm_internal.h" -#include - #include "lx_cpu.h" /**************************************************************************** diff --git a/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_bringup.c b/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_bringup.c index 88c84c442c..9202dd6123 100644 --- a/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_bringup.c +++ b/boards/arm/lpc17xx_40xx/pnev5180b/src/lpc17_40_bringup.c @@ -50,10 +50,6 @@ # include #endif -#ifdef CONFIG_CDCECM_COMPOSITE -# include -#endif - #ifdef CONFIG_LPC17_40_ROMFS # include "lpc17_40_romfs.h" #endif diff --git a/boards/arm/lpc17xx_40xx/zkit-arm-1769/src/lpc17_40_buttons.c b/boards/arm/lpc17xx_40xx/zkit-arm-1769/src/lpc17_40_buttons.c index d1a7be35c5..6635f93cc4 100644 --- a/boards/arm/lpc17xx_40xx/zkit-arm-1769/src/lpc17_40_buttons.c +++ b/boards/arm/lpc17xx_40xx/zkit-arm-1769/src/lpc17_40_buttons.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include "arm_internal.h" diff --git a/boards/arm/lpc54xx/lpcxpresso-lpc54628/src/lpc54_buttons.c b/boards/arm/lpc54xx/lpcxpresso-lpc54628/src/lpc54_buttons.c index 1e245951eb..66ef3547e2 100644 --- a/boards/arm/lpc54xx/lpcxpresso-lpc54628/src/lpc54_buttons.c +++ b/boards/arm/lpc54xx/lpcxpresso-lpc54628/src/lpc54_buttons.c @@ -33,8 +33,6 @@ #include #include -#include - #include "lpc54_gpio.h" #include "lpcxpresso-lpc54628.h" diff --git a/boards/arm/max326xx/max32660-evsys/src/max326_button.c b/boards/arm/max326xx/max32660-evsys/src/max326_button.c index 26f88d1df9..314b514008 100644 --- a/boards/arm/max326xx/max32660-evsys/src/max326_button.c +++ b/boards/arm/max326xx/max32660-evsys/src/max326_button.c @@ -34,8 +34,6 @@ #include #include -#include - #include "max326_gpio.h" #include "max32660-evsys.h" diff --git a/boards/arm/max326xx/max32660-evsys/src/max326_mmcsd.c b/boards/arm/max326xx/max32660-evsys/src/max326_mmcsd.c index 1815331d8a..d1f690713a 100644 --- a/boards/arm/max326xx/max32660-evsys/src/max326_mmcsd.c +++ b/boards/arm/max326xx/max32660-evsys/src/max326_mmcsd.c @@ -31,7 +31,6 @@ #include #include -#include #include #include diff --git a/boards/arm/nrf52/common/src/nrf52_progmem.c b/boards/arm/nrf52/common/src/nrf52_progmem.c index 484ef98183..b4c18cada1 100644 --- a/boards/arm/nrf52/common/src/nrf52_progmem.c +++ b/boards/arm/nrf52/common/src/nrf52_progmem.c @@ -41,7 +41,6 @@ #include #include #include -#include #include "nrf52_progmem.h" diff --git a/boards/arm/nrf53/common/src/nrf53_progmem.c b/boards/arm/nrf53/common/src/nrf53_progmem.c index be1851846a..8faab8e56f 100644 --- a/boards/arm/nrf53/common/src/nrf53_progmem.c +++ b/boards/arm/nrf53/common/src/nrf53_progmem.c @@ -41,7 +41,6 @@ #include #include #include -#include #include "nrf53_progmem.h" diff --git a/boards/arm/nrf91/common/src/nrf91_progmem.c b/boards/arm/nrf91/common/src/nrf91_progmem.c index e840ed10a4..e508d29398 100644 --- a/boards/arm/nrf91/common/src/nrf91_progmem.c +++ b/boards/arm/nrf91/common/src/nrf91_progmem.c @@ -41,7 +41,6 @@ #include #include #include -#include #include "nrf91_progmem.h" diff --git a/boards/arm/sam34/sam3u-ek/src/sam_buttons.c b/boards/arm/sam34/sam3u-ek/src/sam_buttons.c index 3697906986..43c7854715 100644 --- a/boards/arm/sam34/sam3u-ek/src/sam_buttons.c +++ b/boards/arm/sam34/sam3u-ek/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/sam34/sam4e-ek/src/sam_buttons.c b/boards/arm/sam34/sam4e-ek/src/sam_buttons.c index 6d21abdc2d..3686920f64 100644 --- a/boards/arm/sam34/sam4e-ek/src/sam_buttons.c +++ b/boards/arm/sam34/sam4e-ek/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/sam34/sam4l-xplained/src/sam_buttons.c b/boards/arm/sam34/sam4l-xplained/src/sam_buttons.c index d96371474f..83cf3569d9 100644 --- a/boards/arm/sam34/sam4l-xplained/src/sam_buttons.c +++ b/boards/arm/sam34/sam4l-xplained/src/sam_buttons.c @@ -30,8 +30,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/sam34/sam4s-xplained-pro/src/sam_buttons.c b/boards/arm/sam34/sam4s-xplained-pro/src/sam_buttons.c index fb921668f7..936d925202 100644 --- a/boards/arm/sam34/sam4s-xplained-pro/src/sam_buttons.c +++ b/boards/arm/sam34/sam4s-xplained-pro/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/sam34/sam4s-xplained/src/sam_buttons.c b/boards/arm/sam34/sam4s-xplained/src/sam_buttons.c index 72bc28a1f5..39f4d1269d 100644 --- a/boards/arm/sam34/sam4s-xplained/src/sam_buttons.c +++ b/boards/arm/sam34/sam4s-xplained/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/sama5/jupiter-nano/src/sam_buttons.c b/boards/arm/sama5/jupiter-nano/src/sam_buttons.c index b22f3c8f34..389f5c375e 100644 --- a/boards/arm/sama5/jupiter-nano/src/sam_buttons.c +++ b/boards/arm/sama5/jupiter-nano/src/sam_buttons.c @@ -43,8 +43,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/sama5/sama5d2-xult/src/sam_buttons.c b/boards/arm/sama5/sama5d2-xult/src/sam_buttons.c index 3e00879315..11d6f4008c 100644 --- a/boards/arm/sama5/sama5d2-xult/src/sam_buttons.c +++ b/boards/arm/sama5/sama5d2-xult/src/sam_buttons.c @@ -43,8 +43,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/sama5/sama5d3-xplained/src/sam_buttons.c b/boards/arm/sama5/sama5d3-xplained/src/sam_buttons.c index 97c01b5ed6..e0bf9a2dc9 100644 --- a/boards/arm/sama5/sama5d3-xplained/src/sam_buttons.c +++ b/boards/arm/sama5/sama5d3-xplained/src/sam_buttons.c @@ -47,8 +47,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/sama5/sama5d3x-ek/src/sam_buttons.c b/boards/arm/sama5/sama5d3x-ek/src/sam_buttons.c index 5333d9196b..895f539130 100644 --- a/boards/arm/sama5/sama5d3x-ek/src/sam_buttons.c +++ b/boards/arm/sama5/sama5d3x-ek/src/sam_buttons.c @@ -47,8 +47,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/sama5/sama5d4-ek/src/sam_buttons.c b/boards/arm/sama5/sama5d4-ek/src/sam_buttons.c index 7c95e20670..543427ed31 100644 --- a/boards/arm/sama5/sama5d4-ek/src/sam_buttons.c +++ b/boards/arm/sama5/sama5d4-ek/src/sam_buttons.c @@ -43,8 +43,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/samd2l2/samd20-xplained/src/sam_buttons.c b/boards/arm/samd2l2/samd20-xplained/src/sam_buttons.c index 99ddf3a360..87d8cb243c 100644 --- a/boards/arm/samd2l2/samd20-xplained/src/sam_buttons.c +++ b/boards/arm/samd2l2/samd20-xplained/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/samd2l2/samd21-xplained/src/sam_buttons.c b/boards/arm/samd2l2/samd21-xplained/src/sam_buttons.c index 655f5ce2db..c54a32a607 100644 --- a/boards/arm/samd2l2/samd21-xplained/src/sam_buttons.c +++ b/boards/arm/samd2l2/samd21-xplained/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/samd2l2/saml21-xplained/src/sam_buttons.c b/boards/arm/samd2l2/saml21-xplained/src/sam_buttons.c index 2177c04705..7beef34174 100644 --- a/boards/arm/samd2l2/saml21-xplained/src/sam_buttons.c +++ b/boards/arm/samd2l2/saml21-xplained/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/samv7/same70-qmtech/src/sam_buttons.c b/boards/arm/samv7/same70-qmtech/src/sam_buttons.c index 0f02f54993..c691cd4673 100644 --- a/boards/arm/samv7/same70-qmtech/src/sam_buttons.c +++ b/boards/arm/samv7/same70-qmtech/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/samv7/same70-xplained/src/sam_buttons.c b/boards/arm/samv7/same70-xplained/src/sam_buttons.c index a819280886..ffcc4f2bc1 100644 --- a/boards/arm/samv7/same70-xplained/src/sam_buttons.c +++ b/boards/arm/samv7/same70-xplained/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/samv7/samv71-xult/src/sam_buttons.c b/boards/arm/samv7/samv71-xult/src/sam_buttons.c index 4f488521c4..642b259331 100644 --- a/boards/arm/samv7/samv71-xult/src/sam_buttons.c +++ b/boards/arm/samv7/samv71-xult/src/sam_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/stm32/common/src/stm32_tone.c b/boards/arm/stm32/common/src/stm32_tone.c index 67a6a557fd..ec3e43db8a 100644 --- a/boards/arm/stm32/common/src/stm32_tone.c +++ b/boards/arm/stm32/common/src/stm32_tone.c @@ -25,7 +25,6 @@ ****************************************************************************/ #include -#include #include #include diff --git a/boards/arm/stm32f7/stm32f777zit6-meadow/src/stm32_boot.c b/boards/arm/stm32f7/stm32f777zit6-meadow/src/stm32_boot.c index a5e11c3957..893f10db3d 100644 --- a/boards/arm/stm32f7/stm32f777zit6-meadow/src/stm32_boot.c +++ b/boards/arm/stm32f7/stm32f777zit6-meadow/src/stm32_boot.c @@ -37,7 +37,6 @@ #include "stm32f777zit6-meadow.h" #ifdef CONFIG_STM32F7_QUADSPI -# include # include "stm32_qspi.h" # ifdef CONFIG_FS_FAT diff --git a/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_tone.c b/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_tone.c index 63e8f7f845..34590e429b 100644 --- a/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_tone.c +++ b/boards/arm/stm32h7/linum-stm32h753bi/src/stm32_tone.c @@ -25,7 +25,6 @@ ****************************************************************************/ #include -#include #include #include diff --git a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_progmem.c b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_progmem.c index edf2be1441..96647c4883 100644 --- a/boards/arm/stm32h7/nucleo-h743zi/src/stm32_progmem.c +++ b/boards/arm/stm32h7/nucleo-h743zi/src/stm32_progmem.c @@ -41,9 +41,6 @@ #include #include #include -#ifdef CONFIG_BCH -#include -#endif #include #include "nucleo-h743zi.h" diff --git a/boards/arm/stm32l4/nucleo-l476rg/src/stm32_cc1101.c b/boards/arm/stm32l4/nucleo-l476rg/src/stm32_cc1101.c index 3cbb2bed51..295a0b09b7 100644 --- a/boards/arm/stm32l4/nucleo-l476rg/src/stm32_cc1101.c +++ b/boards/arm/stm32l4/nucleo-l476rg/src/stm32_cc1101.c @@ -31,7 +31,6 @@ #include #include -#include #include #include #include diff --git a/boards/arm/stm32wl5/nucleo-wl55jc/src/stm32_leds.c b/boards/arm/stm32wl5/nucleo-wl55jc/src/stm32_leds.c index a3f578959d..a38439634f 100644 --- a/boards/arm/stm32wl5/nucleo-wl55jc/src/stm32_leds.c +++ b/boards/arm/stm32wl5/nucleo-wl55jc/src/stm32_leds.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include diff --git a/boards/arm/tiva/launchxl-cc1310/src/cc1310_buttons.c b/boards/arm/tiva/launchxl-cc1310/src/cc1310_buttons.c index 5f63f78f97..70ec8b2dbb 100644 --- a/boards/arm/tiva/launchxl-cc1310/src/cc1310_buttons.c +++ b/boards/arm/tiva/launchxl-cc1310/src/cc1310_buttons.c @@ -33,8 +33,6 @@ #include #include -#include - #include "tiva_gpio.h" #include "launchxl-cc1310.h" diff --git a/boards/arm/tiva/launchxl-cc1312r1/src/cc1312_buttons.c b/boards/arm/tiva/launchxl-cc1312r1/src/cc1312_buttons.c index b6e4a0f252..8717f1827d 100644 --- a/boards/arm/tiva/launchxl-cc1312r1/src/cc1312_buttons.c +++ b/boards/arm/tiva/launchxl-cc1312r1/src/cc1312_buttons.c @@ -33,8 +33,6 @@ #include #include -#include - #include "tiva_gpio.h" #include "launchxl-cc1312r1.h" diff --git a/boards/arm/tms570/launchxl-tms57004/src/tms570_buttons.c b/boards/arm/tms570/launchxl-tms57004/src/tms570_buttons.c index 58542d9868..b279d4743a 100644 --- a/boards/arm/tms570/launchxl-tms57004/src/tms570_buttons.c +++ b/boards/arm/tms570/launchxl-tms57004/src/tms570_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/arm/tms570/tms570ls31x-usb-kit/src/tms570_buttons.c b/boards/arm/tms570/tms570ls31x-usb-kit/src/tms570_buttons.c index 643523bfe6..253ec4f96d 100644 --- a/boards/arm/tms570/tms570ls31x-usb-kit/src/tms570_buttons.c +++ b/boards/arm/tms570/tms570ls31x-usb-kit/src/tms570_buttons.c @@ -31,8 +31,6 @@ #include #include -#include - #include #include diff --git a/boards/renesas/rx65n/rx65n-grrose/src/rx65n_bringup.c b/boards/renesas/rx65n/rx65n-grrose/src/rx65n_bringup.c index 23c490a4b9..9629b5cdc7 100644 --- a/boards/renesas/rx65n/rx65n-grrose/src/rx65n_bringup.c +++ b/boards/renesas/rx65n/rx65n-grrose/src/rx65n_bringup.c @@ -26,8 +26,6 @@ #include -#include - #include #include #include diff --git a/boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_bringup.c b/boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_bringup.c index bead9393d7..855537c918 100644 --- a/boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_bringup.c +++ b/boards/renesas/rx65n/rx65n-rsk2mb/src/rx65n_bringup.c @@ -26,8 +26,6 @@ #include -#include - #include #include #include diff --git a/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_bringup.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_bringup.c index a41e76fe94..f050f88063 100644 --- a/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_bringup.c +++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit-rust-1/src/esp32c3_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include diff --git a/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_bringup.c b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_bringup.c index c70c1c3cb3..0c45cfbf70 100644 --- a/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_bringup.c +++ b/boards/risc-v/esp32c3-legacy/esp32c3-devkit/src/esp32c3_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include diff --git a/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c b/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c index c9ba0f6310..bc5c02c017 100644 --- a/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c +++ b/boards/risc-v/esp32c6/esp32c6-devkitc/src/esp32c6_bringup.c @@ -94,7 +94,6 @@ #endif #ifdef CONFIG_SPI_SLAVE_DRIVER -# include "espressif/esp_spi.h" # include "esp_board_spislavedev.h" #endif diff --git a/boards/risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_bringup.c b/boards/risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_bringup.c index 7e6dc2dfff..ac4a1ac0e3 100644 --- a/boards/risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_bringup.c +++ b/boards/risc-v/esp32c6/esp32c6-devkitm/src/esp32c6_bringup.c @@ -94,7 +94,6 @@ #endif #ifdef CONFIG_SPI_SLAVE_DRIVER -# include "espressif/esp_spi.h" # include "esp_board_spislavedev.h" #endif diff --git a/boards/sim/sim/sim/src/sim_bringup.c b/boards/sim/sim/sim/src/sim_bringup.c index be3a46f661..0be2553a00 100644 --- a/boards/sim/sim/sim/src/sim_bringup.c +++ b/boards/sim/sim/sim/src/sim_bringup.c @@ -50,7 +50,6 @@ #include #include #include -#include #include #include #include diff --git a/boards/xtensa/esp32/esp32-2432S028/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-2432S028/src/esp32_bringup.c index 3dfa416b1d..447f1be519 100644 --- a/boards/xtensa/esp32/esp32-2432S028/src/esp32_bringup.c +++ b/boards/xtensa/esp32/esp32-2432S028/src/esp32_bringup.c @@ -33,11 +33,8 @@ #include #include #include -#include #include -#include -#include #include #include #include diff --git a/boards/xtensa/esp32/esp32-audio-kit/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-audio-kit/src/esp32_bringup.c index adfbef847f..6719e203e6 100644 --- a/boards/xtensa/esp32/esp32-audio-kit/src/esp32_bringup.c +++ b/boards/xtensa/esp32/esp32-audio-kit/src/esp32_bringup.c @@ -33,11 +33,7 @@ #include #include #include -#include #include -#include - -#include #include #include #include @@ -101,7 +97,6 @@ #endif #ifdef CONFIG_LCD_DEV -# include # include #endif diff --git a/boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c index 0993dba7e2..149e8cf82d 100644 --- a/boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c +++ b/boards/xtensa/esp32/esp32-devkitc/src/esp32_bringup.c @@ -29,14 +29,10 @@ #include #include #include -#include #include #include #include -#include #include -#include - #include #if defined(CONFIG_ESP32_EFUSE) #include @@ -140,7 +136,6 @@ #endif #ifdef CONFIG_LCD_DEV -# include # include #endif @@ -157,7 +152,6 @@ #endif #ifdef CONFIG_SPI_SLAVE_DRIVER -# include "esp32_spi.h" # include "esp32_board_spislavedev.h" #endif diff --git a/boards/xtensa/esp32/esp32-ethernet-kit/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-ethernet-kit/src/esp32_bringup.c index 27b9e36b82..0045b99a89 100644 --- a/boards/xtensa/esp32/esp32-ethernet-kit/src/esp32_bringup.c +++ b/boards/xtensa/esp32/esp32-ethernet-kit/src/esp32_bringup.c @@ -29,13 +29,9 @@ #include #include #include -#include #include #include -#include -#include #include -#include #include #include diff --git a/boards/xtensa/esp32/esp32-lyrat/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-lyrat/src/esp32_bringup.c index d772ca1cf5..41e91a29cd 100644 --- a/boards/xtensa/esp32/esp32-lyrat/src/esp32_bringup.c +++ b/boards/xtensa/esp32/esp32-lyrat/src/esp32_bringup.c @@ -33,11 +33,7 @@ #include #include #include -#include #include -#include - -#include #include #include #include diff --git a/boards/xtensa/esp32/esp32-pico-kit/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-pico-kit/src/esp32_bringup.c index e7becaec67..b974c138c6 100644 --- a/boards/xtensa/esp32/esp32-pico-kit/src/esp32_bringup.c +++ b/boards/xtensa/esp32/esp32-pico-kit/src/esp32_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #if defined(CONFIG_ESP32_EFUSE) diff --git a/boards/xtensa/esp32/esp32-sparrow-kit/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-sparrow-kit/src/esp32_bringup.c index b7fde28c30..4e5cdb0dcc 100644 --- a/boards/xtensa/esp32/esp32-sparrow-kit/src/esp32_bringup.c +++ b/boards/xtensa/esp32/esp32-sparrow-kit/src/esp32_bringup.c @@ -33,11 +33,8 @@ #include #include #include -#include #include -#include -#include #include #include #include diff --git a/boards/xtensa/esp32/esp32-wrover-kit/src/esp32_bringup.c b/boards/xtensa/esp32/esp32-wrover-kit/src/esp32_bringup.c index 8ee68f28a1..747f169aad 100644 --- a/boards/xtensa/esp32/esp32-wrover-kit/src/esp32_bringup.c +++ b/boards/xtensa/esp32/esp32-wrover-kit/src/esp32_bringup.c @@ -33,11 +33,8 @@ #include #include #include -#include #include -#include -#include #include #include #include diff --git a/boards/xtensa/esp32/lilygo_tbeam_lora_gps/src/esp32_bringup.c b/boards/xtensa/esp32/lilygo_tbeam_lora_gps/src/esp32_bringup.c index 0c3b0cf212..c46866819e 100644 --- a/boards/xtensa/esp32/lilygo_tbeam_lora_gps/src/esp32_bringup.c +++ b/boards/xtensa/esp32/lilygo_tbeam_lora_gps/src/esp32_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #if defined(CONFIG_ESP32_EFUSE) diff --git a/boards/xtensa/esp32/ttgo_eink5_v2/src/esp32_bringup.c b/boards/xtensa/esp32/ttgo_eink5_v2/src/esp32_bringup.c index b917891100..0bbcbc1046 100644 --- a/boards/xtensa/esp32/ttgo_eink5_v2/src/esp32_bringup.c +++ b/boards/xtensa/esp32/ttgo_eink5_v2/src/esp32_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include diff --git a/boards/xtensa/esp32/ttgo_lora_esp32/src/esp32_bringup.c b/boards/xtensa/esp32/ttgo_lora_esp32/src/esp32_bringup.c index 01bccb4c40..ae6ab94c82 100644 --- a/boards/xtensa/esp32/ttgo_lora_esp32/src/esp32_bringup.c +++ b/boards/xtensa/esp32/ttgo_lora_esp32/src/esp32_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #if defined(CONFIG_ESP32_EFUSE) diff --git a/boards/xtensa/esp32/ttgo_t_display_esp32/src/esp32_bringup.c b/boards/xtensa/esp32/ttgo_t_display_esp32/src/esp32_bringup.c index 068587f345..9b6057a2d1 100644 --- a/boards/xtensa/esp32/ttgo_t_display_esp32/src/esp32_bringup.c +++ b/boards/xtensa/esp32/ttgo_t_display_esp32/src/esp32_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #if defined(CONFIG_ESP32_EFUSE) diff --git a/boards/xtensa/esp32s2/esp32s2-kaluga-1/src/esp32s2_bringup.c b/boards/xtensa/esp32s2/esp32s2-kaluga-1/src/esp32s2_bringup.c index 318f7af85e..888744276d 100644 --- a/boards/xtensa/esp32s2/esp32s2-kaluga-1/src/esp32s2_bringup.c +++ b/boards/xtensa/esp32s2/esp32s2-kaluga-1/src/esp32s2_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/boards/xtensa/esp32s2/esp32s2-saola-1/src/esp32s2_bringup.c b/boards/xtensa/esp32s2/esp32s2-saola-1/src/esp32s2_bringup.c index 9a519c8a53..918ba4ed98 100644 --- a/boards/xtensa/esp32s2/esp32s2-saola-1/src/esp32s2_bringup.c +++ b/boards/xtensa/esp32s2/esp32s2-saola-1/src/esp32s2_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/boards/xtensa/esp32s2/franzininho-wifi/src/esp32s2_bringup.c b/boards/xtensa/esp32s2/franzininho-wifi/src/esp32s2_bringup.c index 6e52251a77..d00a4d2f5d 100644 --- a/boards/xtensa/esp32s2/franzininho-wifi/src/esp32s2_bringup.c +++ b/boards/xtensa/esp32s2/franzininho-wifi/src/esp32s2_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/boards/xtensa/esp32s3/common/src/esp32s3_lan9250.c b/boards/xtensa/esp32s3/common/src/esp32s3_lan9250.c index 9311cf1d3c..ee3439ed6e 100644 --- a/boards/xtensa/esp32s3/common/src/esp32s3_lan9250.c +++ b/boards/xtensa/esp32s3/common/src/esp32s3_lan9250.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include diff --git a/boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c b/boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c index 954ca98a17..17581e3b82 100644 --- a/boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c +++ b/boards/xtensa/esp32s3/esp32s3-box/src/esp32s3_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c b/boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c index b68eaac18b..13ecad5863 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c +++ b/boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c @@ -26,14 +26,12 @@ #include -#include #include #include #include #include #include #include -#include #include #include diff --git a/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c b/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c index db276da7ae..93aaa33fbe 100644 --- a/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c +++ b/boards/xtensa/esp32s3/esp32s3-eye/src/esp32s3_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/boards/xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c b/boards/xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c index 63090fde78..74d06fc1e2 100644 --- a/boards/xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c +++ b/boards/xtensa/esp32s3/esp32s3-korvo-2/src/esp32s3_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c b/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c index 767ee878d6..cf9a4573a0 100644 --- a/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c +++ b/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_lcd.c b/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_lcd.c index 0aca5268b0..135255f313 100644 --- a/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_lcd.c +++ b/boards/xtensa/esp32s3/esp32s3-lcd-ev/src/esp32s3_lcd.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include diff --git a/boards/xtensa/esp32s3/esp32s3-lhcbit/src/esp32s3_bringup.c b/boards/xtensa/esp32s3/esp32s3-lhcbit/src/esp32s3_bringup.c index 94930eb3d0..521368e447 100644 --- a/boards/xtensa/esp32s3/esp32s3-lhcbit/src/esp32s3_bringup.c +++ b/boards/xtensa/esp32s3/esp32s3-lhcbit/src/esp32s3_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/boards/xtensa/esp32s3/esp32s3-meadow/src/esp32s3_bringup.c b/boards/xtensa/esp32s3/esp32s3-meadow/src/esp32s3_bringup.c index c9687136b7..2f6624ff0d 100644 --- a/boards/xtensa/esp32s3/esp32s3-meadow/src/esp32s3_bringup.c +++ b/boards/xtensa/esp32s3/esp32s3-meadow/src/esp32s3_bringup.c @@ -33,9 +33,7 @@ #include #include #include -#include #include -#include #include #include diff --git a/drivers/audio/tone.c b/drivers/audio/tone.c index 7db86dcec7..5465258d75 100644 --- a/drivers/audio/tone.c +++ b/drivers/audio/tone.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/input/stmpe811_tsc.c b/drivers/input/stmpe811_tsc.c index c4a667b62d..7fd2d83e1c 100644 --- a/drivers/input/stmpe811_tsc.c +++ b/drivers/input/stmpe811_tsc.c @@ -51,7 +51,6 @@ #include #include -#include #include #include diff --git a/drivers/leds/rgbled.c b/drivers/leds/rgbled.c index c4d6189648..39be605d33 100644 --- a/drivers/leds/rgbled.c +++ b/drivers/leds/rgbled.c @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/loop/losetup.c b/drivers/loop/losetup.c index aa20c6f541..78057b08ed 100644 --- a/drivers/loop/losetup.c +++ b/drivers/loop/losetup.c @@ -28,7 +28,6 @@ #include #include -#include #include #include diff --git a/drivers/mtd/mx25rxx.c b/drivers/mtd/mx25rxx.c index e809539cb9..3437ec7947 100644 --- a/drivers/mtd/mx25rxx.c +++ b/drivers/mtd/mx25rxx.c @@ -39,7 +39,6 @@ #include #include -#include #include #include #include diff --git a/drivers/net/enc28j60.c b/drivers/net/enc28j60.c index 8393e79463..becda0e1ce 100644 --- a/drivers/net/enc28j60.c +++ b/drivers/net/enc28j60.c @@ -35,7 +35,6 @@ #include #include -#include #include #include #include diff --git a/drivers/net/encx24j600.c b/drivers/net/encx24j600.c index 76e2e5840a..c26efa8cb1 100644 --- a/drivers/net/encx24j600.c +++ b/drivers/net/encx24j600.c @@ -35,7 +35,6 @@ #include #include -#include #include #include #include diff --git a/drivers/net/lan9250.c b/drivers/net/lan9250.c index 7e3e621495..8f02fb83ea 100644 --- a/drivers/net/lan9250.c +++ b/drivers/net/lan9250.c @@ -28,7 +28,6 @@ #include #include -#include #include #include #include diff --git a/drivers/sensors/kxtj9.c b/drivers/sensors/kxtj9.c index a1a2f256a7..f8b6ac210d 100644 --- a/drivers/sensors/kxtj9.c +++ b/drivers/sensors/kxtj9.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include diff --git a/drivers/wireless/bluetooth/bt_null.c b/drivers/wireless/bluetooth/bt_null.c index 8ea3e98f3c..2a262ddac9 100644 --- a/drivers/wireless/bluetooth/bt_null.c +++ b/drivers/wireless/bluetooth/bt_null.c @@ -37,7 +37,6 @@ #include #include #include -#include /**************************************************************************** * Private Function Prototypes diff --git a/include/nuttx/lib/math.h b/include/nuttx/lib/math.h index 9e158cbda5..fb707f126d 100644 --- a/include/nuttx/lib/math.h +++ b/include/nuttx/lib/math.h @@ -64,13 +64,6 @@ * ****************************************************************************/ -/**************************************************************************** - * Included Files - ****************************************************************************/ - -#include -#include - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ diff --git a/libs/libc/modlib/modlib_symtab.c b/libs/libc/modlib/modlib_symtab.c index e7b34c604e..e84d817f55 100644 --- a/libs/libc/modlib/modlib_symtab.c +++ b/libs/libc/modlib/modlib_symtab.c @@ -30,7 +30,6 @@ #include #include -#include /**************************************************************************** * Pre-processor Definitions diff --git a/libs/libc/pthread/pthread_spinlock.c b/libs/libc/pthread/pthread_spinlock.c index 2af32e5a74..8c020282e7 100644 --- a/libs/libc/pthread/pthread_spinlock.c +++ b/libs/libc/pthread/pthread_spinlock.c @@ -35,8 +35,6 @@ #include #include #include -#include -#include #ifdef CONFIG_PTHREAD_SPINLOCKS diff --git a/net/local/local.h b/net/local/local.h index 819e5ec50d..a15e59eeef 100644 --- a/net/local/local.h +++ b/net/local/local.h @@ -33,7 +33,6 @@ #include #include #include -#include #include #include diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c index ce80317def..3ad02a6d5f 100644 --- a/net/tcp/tcp_send_buffered.c +++ b/net/tcp/tcp_send_buffered.c @@ -54,7 +54,6 @@ #include #include #include -#include #include "netdev/netdev.h" #include "devif/devif.h" diff --git a/sched/misc/assert.c b/sched/misc/assert.c index b23072c59a..516d94ea10 100644 --- a/sched/misc/assert.c +++ b/sched/misc/assert.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include diff --git a/sched/paging/pg_worker.c b/sched/paging/pg_worker.c index 7ff1c7c3c3..bd55404666 100644 --- a/sched/paging/pg_worker.c +++ b/sched/paging/pg_worker.c @@ -39,7 +39,6 @@ #include #include #include -#include #include "sched/sched.h" #include "paging/paging.h"