diff --git a/arch/x86/core/ia32/cache.c b/arch/x86/core/ia32/cache.c index b04290d8a13118..b7ce37a07f2ccc 100644 --- a/arch/x86/core/ia32/cache.c +++ b/arch/x86/core/ia32/cache.c @@ -16,7 +16,6 @@ #include #include #include -#include /* * these functions are defined in cache_s.S diff --git a/arch/x86/include/ia32/kernel_arch_data.h b/arch/x86/include/ia32/kernel_arch_data.h index 6974be6e0e47a9..2457fbd765b3b8 100644 --- a/arch/x86/include/ia32/kernel_arch_data.h +++ b/arch/x86/include/ia32/kernel_arch_data.h @@ -52,8 +52,6 @@ #ifndef _ASMLANGUAGE -#include - #ifdef __cplusplus extern "C" { #endif diff --git a/boards/posix/nrf52_bsim/trace_hook.c b/boards/posix/nrf52_bsim/trace_hook.c index 89436c1d404b1f..fde0ab03a612c4 100644 --- a/boards/posix/nrf52_bsim/trace_hook.c +++ b/boards/posix/nrf52_bsim/trace_hook.c @@ -6,7 +6,6 @@ #include #include #include -#include #include #include "bs_tracing.h" #include "posix_board_if.h" diff --git a/drivers/bluetooth/hci/userchan.c b/drivers/bluetooth/hci/userchan.c index 3b34c2fc54a00d..c094b619bee185 100644 --- a/drivers/bluetooth/hci/userchan.c +++ b/drivers/bluetooth/hci/userchan.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/dma/dma_stm32.c b/drivers/dma/dma_stm32.c index 22dd9816383432..9ac5b4e1ec8fc4 100644 --- a/drivers/dma/dma_stm32.c +++ b/drivers/dma/dma_stm32.c @@ -22,8 +22,6 @@ #include LOG_MODULE_REGISTER(dma_stm32, CONFIG_DMA_LOG_LEVEL); -#include - static void dma_stm32_dump_stream_irq(struct device *dev, u32_t id) { const struct dma_stm32_config *config = dev->config->config_info; diff --git a/drivers/sensor/si7006/si7006.c b/drivers/sensor/si7006/si7006.c index e49aa507e5d79d..3003ac64ef1f29 100644 --- a/drivers/sensor/si7006/si7006.c +++ b/drivers/sensor/si7006/si7006.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include "si7006.h" diff --git a/drivers/usb/device/usb_dc_mcux_ehci.c b/drivers/usb/device/usb_dc_mcux_ehci.c index c9abb7babcf498..45ddaf15b4513b 100644 --- a/drivers/usb/device/usb_dc_mcux_ehci.c +++ b/drivers/usb/device/usb_dc_mcux_ehci.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include "usb_dc_mcux.h" #include "usb_device_ehci.h" diff --git a/drivers/wifi/eswifi/eswifi_core.c b/drivers/wifi/eswifi/eswifi_core.c index 12ebe095c19458..394b94ceb966f5 100644 --- a/drivers/wifi/eswifi/eswifi_core.c +++ b/drivers/wifi/eswifi/eswifi_core.c @@ -22,7 +22,6 @@ LOG_MODULE_REGISTER(wifi_eswifi_core); #include #include #include -#include #include #include diff --git a/drivers/wifi/winc1500/wifi_winc1500.c b/drivers/wifi/winc1500/wifi_winc1500.c index 40f3e7372a2aef..abea3c88dba7e7 100644 --- a/drivers/wifi/winc1500/wifi_winc1500.c +++ b/drivers/wifi/winc1500/wifi_winc1500.c @@ -106,9 +106,6 @@ typedef struct { struct sockaddr_in strRemoteAddr; } tstrSocketRecvMsg; -#include -#include - #if defined(CONFIG_WIFI_WINC1500_REGION_NORTH_AMERICA) #define WINC1500_REGION NORTH_AMERICA #elif defined(CONFIG_WIFI_WINC1500_REGION_EUROPE) diff --git a/ext/hal/altera/altera_hal/HAL/inc/sys/alt_sys_wrappers.h b/ext/hal/altera/altera_hal/HAL/inc/sys/alt_sys_wrappers.h index 4939dff7f030d3..e3d015980ba6a3 100644 --- a/ext/hal/altera/altera_hal/HAL/inc/sys/alt_sys_wrappers.h +++ b/ext/hal/altera/altera_hal/HAL/inc/sys/alt_sys_wrappers.h @@ -44,7 +44,6 @@ #include #include #include -#include extern int ALT_CLOSE (int __fd); extern int ALT_EXECVE (const char *__path, diff --git a/include/drivers/timer/system_timer.h b/include/drivers/timer/system_timer.h index 9c3c416ee55750..e5cba4f6e623ff 100644 --- a/include/drivers/timer/system_timer.h +++ b/include/drivers/timer/system_timer.h @@ -18,7 +18,6 @@ #include #include -#include #ifdef __cplusplus extern "C" { diff --git a/kernel/compiler_stack_protect.c b/kernel/compiler_stack_protect.c index 2a0dc37f75e9a0..151e10b90568ab 100644 --- a/kernel/compiler_stack_protect.c +++ b/kernel/compiler_stack_protect.c @@ -19,7 +19,6 @@ #include /* compiler specific configurations */ #include -#include #include #include #include diff --git a/soc/arm/xilinx_zynqmp/soc.h b/soc/arm/xilinx_zynqmp/soc.h index 9a53a709ebb72d..bf6630ae8a6cf5 100644 --- a/soc/arm/xilinx_zynqmp/soc.h +++ b/soc/arm/xilinx_zynqmp/soc.h @@ -13,7 +13,6 @@ #ifndef _ASMLANGUAGE #include -#include #endif /* !_ASMLANGUAGE */ diff --git a/subsys/bluetooth/shell/bt.c b/subsys/bluetooth/shell/bt.c index e2b927b4d40c1c..26fc8089814f7b 100644 --- a/subsys/bluetooth/shell/bt.c +++ b/subsys/bluetooth/shell/bt.c @@ -28,7 +28,6 @@ #include #include #include -#include #include diff --git a/subsys/fs/shell.c b/subsys/fs/shell.c index 012e95acd52bfe..9e667070fc2b37 100644 --- a/subsys/fs/shell.c +++ b/subsys/fs/shell.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/subsys/net/ip/net_shell.c b/subsys/net/ip/net_shell.c index bc3a0657112a78..98f2ecdd5b11c0 100644 --- a/subsys/net/ip/net_shell.c +++ b/subsys/net/ip/net_shell.c @@ -59,7 +59,6 @@ LOG_MODULE_REGISTER(net_shell, LOG_LEVEL_DBG); #endif #if defined(CONFIG_NET_L2_PPP) -#include #include "ppp/ppp_internal.h" #endif diff --git a/subsys/net/l2/canbus/6locan.c b/subsys/net/l2/canbus/6locan.c index 3f7e12bb0574ea..f3ea9e42c4cb81 100644 --- a/subsys/net/l2/canbus/6locan.c +++ b/subsys/net/l2/canbus/6locan.c @@ -19,7 +19,6 @@ LOG_MODULE_REGISTER(net_l2_canbus, CONFIG_NET_L2_CANBUS_LOG_LEVEL); #include #include #include -#include #define NET_CAN_WFTMAX 2 #define NET_CAN_ALLOC_TIMEOUT K_MSEC(100)