tests: remove redundant <zephyr/zephyr.h> includes
Files including <zephyr/kernel.h> do not have to include
<zephyr/zephyr.h>, a shim to <zephyr/kernel.h>.
Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
diff --git a/tests/benchmarks/footprints/src/footprint.h b/tests/benchmarks/footprints/src/footprint.h
index a304f1b..0ac2dd2 100644
--- a/tests/benchmarks/footprints/src/footprint.h
+++ b/tests/benchmarks/footprints/src/footprint.h
@@ -8,7 +8,6 @@
#define _FOOTPRINT_H_
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include <zephyr/app_memory/app_memdomain.h>
K_THREAD_STACK_EXTERN(my_stack_area);
diff --git a/tests/benchmarks/footprints/src/heap.c b/tests/benchmarks/footprints/src/heap.c
index 5f24601..f4bf3ec 100644
--- a/tests/benchmarks/footprints/src/heap.c
+++ b/tests/benchmarks/footprints/src/heap.c
@@ -11,7 +11,6 @@
*
*/
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include <ksched.h>
#include "footprint.h"
diff --git a/tests/benchmarks/footprints/src/libc.c b/tests/benchmarks/footprints/src/libc.c
index 5208d28..48b8eb8 100644
--- a/tests/benchmarks/footprints/src/libc.c
+++ b/tests/benchmarks/footprints/src/libc.c
@@ -5,7 +5,6 @@
*/
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include <ksched.h>
#include "footprint.h"
diff --git a/tests/benchmarks/footprints/src/main.c b/tests/benchmarks/footprints/src/main.c
index 1e751d3..f5be439 100644
--- a/tests/benchmarks/footprints/src/main.c
+++ b/tests/benchmarks/footprints/src/main.c
@@ -11,7 +11,6 @@
*
*/
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include <ksched.h>
#include <zephyr/sys/libc-hooks.h>
#include "footprint.h"
diff --git a/tests/benchmarks/footprints/src/mutex.c b/tests/benchmarks/footprints/src/mutex.c
index c9c0ec4..bff420d 100644
--- a/tests/benchmarks/footprints/src/mutex.c
+++ b/tests/benchmarks/footprints/src/mutex.c
@@ -5,7 +5,6 @@
*/
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include "footprint.h"
diff --git a/tests/benchmarks/footprints/src/semaphore.c b/tests/benchmarks/footprints/src/semaphore.c
index ff918f2..938747a 100644
--- a/tests/benchmarks/footprints/src/semaphore.c
+++ b/tests/benchmarks/footprints/src/semaphore.c
@@ -5,7 +5,6 @@
*/
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include <ksched.h>
#include "footprint.h"
diff --git a/tests/benchmarks/footprints/src/system_thread.c b/tests/benchmarks/footprints/src/system_thread.c
index e1d0bb6..c88be8c 100644
--- a/tests/benchmarks/footprints/src/system_thread.c
+++ b/tests/benchmarks/footprints/src/system_thread.c
@@ -11,7 +11,6 @@
*
*/
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include <ksched.h>
#include "footprint.h"
diff --git a/tests/benchmarks/footprints/src/timer.c b/tests/benchmarks/footprints/src/timer.c
index 3376c04..af36b63 100644
--- a/tests/benchmarks/footprints/src/timer.c
+++ b/tests/benchmarks/footprints/src/timer.c
@@ -5,7 +5,6 @@
*/
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include <ksched.h>
#include "footprint.h"
diff --git a/tests/benchmarks/footprints/src/userspace.c b/tests/benchmarks/footprints/src/userspace.c
index aa8262e..231c427 100644
--- a/tests/benchmarks/footprints/src/userspace.c
+++ b/tests/benchmarks/footprints/src/userspace.c
@@ -10,7 +10,6 @@
*
*/
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include <ksched.h>
#include <zephyr/syscall_handler.h>
#include <zephyr/app_memory/app_memdomain.h>
diff --git a/tests/benchmarks/footprints/src/workq.c b/tests/benchmarks/footprints/src/workq.c
index 10b88f0..a00afd7 100644
--- a/tests/benchmarks/footprints/src/workq.c
+++ b/tests/benchmarks/footprints/src/workq.c
@@ -5,7 +5,6 @@
*/
#include <zephyr/kernel.h>
-#include <zephyr/zephyr.h>
#include <zephyr/syscall_handler.h>
#include "footprint.h"
diff --git a/tests/bluetooth/bsim_bt/bsim_test_app/src/test_connect1.c b/tests/bluetooth/bsim_bt/bsim_test_app/src/test_connect1.c
index 5579b8c..6916ae6 100644
--- a/tests/bluetooth/bsim_bt/bsim_test_app/src/test_connect1.c
+++ b/tests/bluetooth/bsim_bt/bsim_test_app/src/test_connect1.c
@@ -14,7 +14,6 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <errno.h>
-#include <zephyr/zephyr.h>
#include <zephyr/sys/printk.h>
#include <zephyr/bluetooth/bluetooth.h>
diff --git a/tests/bluetooth/bsim_bt/bsim_test_app/src/test_connect2.c b/tests/bluetooth/bsim_bt/bsim_test_app/src/test_connect2.c
index 70037da..e013b91 100644
--- a/tests/bluetooth/bsim_bt/bsim_test_app/src/test_connect2.c
+++ b/tests/bluetooth/bsim_bt/bsim_test_app/src/test_connect2.c
@@ -14,7 +14,6 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <errno.h>
-#include <zephyr/zephyr.h>
#include <zephyr/sys/printk.h>
#include <zephyr/bluetooth/bluetooth.h>
diff --git a/tests/bluetooth/bsim_bt/bsim_test_audio/src/common.h b/tests/bluetooth/bsim_bt/bsim_test_audio/src/common.h
index 8bf54bf..30cc321 100644
--- a/tests/bluetooth/bsim_bt/bsim_test_audio/src/common.h
+++ b/tests/bluetooth/bsim_bt/bsim_test_audio/src/common.h
@@ -20,7 +20,6 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <errno.h>
-#include <zephyr/zephyr.h>
#include <zephyr/sys_clock.h>
#include <zephyr/bluetooth/bluetooth.h>
diff --git a/tests/bluetooth/bsim_bt/bsim_test_eatt_notif/src/common.h b/tests/bluetooth/bsim_bt/bsim_test_eatt_notif/src/common.h
index cdffd65..aecbda9 100644
--- a/tests/bluetooth/bsim_bt/bsim_test_eatt_notif/src/common.h
+++ b/tests/bluetooth/bsim_bt/bsim_test_eatt_notif/src/common.h
@@ -16,7 +16,6 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <errno.h>
-#include <zephyr/zephyr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/hci.h>
diff --git a/tests/bluetooth/bsim_bt/bsim_test_gatt/src/common.h b/tests/bluetooth/bsim_bt/bsim_test_gatt/src/common.h
index bc1340b..3fad93c 100644
--- a/tests/bluetooth/bsim_bt/bsim_test_gatt/src/common.h
+++ b/tests/bluetooth/bsim_bt/bsim_test_gatt/src/common.h
@@ -16,7 +16,6 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <errno.h>
-#include <zephyr/zephyr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/hci.h>
diff --git a/tests/bluetooth/bsim_bt/bsim_test_gatt_caching/src/common.h b/tests/bluetooth/bsim_bt/bsim_test_gatt_caching/src/common.h
index 92f12a6..d01282c 100644
--- a/tests/bluetooth/bsim_bt/bsim_test_gatt_caching/src/common.h
+++ b/tests/bluetooth/bsim_bt/bsim_test_gatt_caching/src/common.h
@@ -17,7 +17,6 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <errno.h>
-#include <zephyr/zephyr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/hci.h>
diff --git a/tests/bluetooth/bsim_bt/bsim_test_mesh/src/mesh_test.h b/tests/bluetooth/bsim_bt/bsim_test_mesh/src/mesh_test.h
index 6ac6b81..76b069f 100644
--- a/tests/bluetooth/bsim_bt/bsim_test_mesh/src/mesh_test.h
+++ b/tests/bluetooth/bsim_bt/bsim_test_mesh/src/mesh_test.h
@@ -19,7 +19,6 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <errno.h>
-#include <zephyr/zephyr.h>
#include <zephyr/sys/printk.h>
#include <zephyr/bluetooth/bluetooth.h>
diff --git a/tests/bluetooth/bsim_bt/bsim_test_mesh/src/settings_test_backend.c b/tests/bluetooth/bsim_bt/bsim_test_mesh/src/settings_test_backend.c
index d831f73..9fcd0fa 100644
--- a/tests/bluetooth/bsim_bt/bsim_test_mesh/src/settings_test_backend.c
+++ b/tests/bluetooth/bsim_bt/bsim_test_mesh/src/settings_test_backend.c
@@ -12,7 +12,6 @@
#include <zephyr/kernel.h>
#include "zephyr/types.h"
#include "errno.h"
-#include <zephyr/zephyr.h>
#include <zephyr/bluetooth/mesh.h>
#include "argparse.h"
diff --git a/tests/bluetooth/bsim_bt/bsim_test_notify/src/common.h b/tests/bluetooth/bsim_bt/bsim_test_notify/src/common.h
index 7cb9e59..67486b1 100644
--- a/tests/bluetooth/bsim_bt/bsim_test_notify/src/common.h
+++ b/tests/bluetooth/bsim_bt/bsim_test_notify/src/common.h
@@ -16,7 +16,6 @@
#include <zephyr/types.h>
#include <stddef.h>
#include <errno.h>
-#include <zephyr/zephyr.h>
#include <zephyr/bluetooth/bluetooth.h>
#include <zephyr/bluetooth/hci.h>
diff --git a/tests/boards/altera_max10/qspi/src/qspi_flash.c b/tests/boards/altera_max10/qspi/src/qspi_flash.c
index a1bae90..fbd7c06 100644
--- a/tests/boards/altera_max10/qspi/src/qspi_flash.c
+++ b/tests/boards/altera_max10/qspi/src/qspi_flash.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
-#include <zephyr/zephyr.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/flash.h>
#include <zephyr/device.h>
diff --git a/tests/kernel/mp/src/main.c b/tests/kernel/mp/src/main.c
index d0bc5c5..a59fc44 100644
--- a/tests/kernel/mp/src/main.c
+++ b/tests/kernel/mp/src/main.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
-#include <zephyr/zephyr.h>
#include <tc_util.h>
#include <ztest.h>
#include <zephyr/kernel.h>
diff --git a/tests/kernel/pending/src/main.c b/tests/kernel/pending/src/main.c
index 2656eff..d8e7d5f 100644
--- a/tests/kernel/pending/src/main.c
+++ b/tests/kernel/pending/src/main.c
@@ -5,7 +5,6 @@
*/
#include <tc_util.h>
-#include <zephyr/zephyr.h>
#include <ztest.h>
#include <zephyr/kernel.h>
#include <zephyr/kernel_structs.h>
diff --git a/tests/kernel/sched/metairq/src/main.c b/tests/kernel/sched/metairq/src/main.c
index 9ad26b7..f0e7790 100644
--- a/tests/kernel/sched/metairq/src/main.c
+++ b/tests/kernel/sched/metairq/src/main.c
@@ -3,7 +3,6 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
-#include <zephyr/zephyr.h>
#include <ztest.h>
#include <zephyr/kernel.h>
diff --git a/tests/kernel/smp/src/main.c b/tests/kernel/smp/src/main.c
index de58705..9eb9ce9 100644
--- a/tests/kernel/smp/src/main.c
+++ b/tests/kernel/smp/src/main.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
-#include <zephyr/zephyr.h>
#include <tc_util.h>
#include <ztest.h>
#include <zephyr/kernel.h>
diff --git a/tests/kernel/spinlock/src/main.c b/tests/kernel/spinlock/src/main.c
index 759c957..278e6e5 100644
--- a/tests/kernel/spinlock/src/main.c
+++ b/tests/kernel/spinlock/src/main.c
@@ -3,7 +3,6 @@
*
* SPDX-License-Identifier: Apache-2.0
*/
-#include <zephyr/zephyr.h>
#include <tc_util.h>
#include <ztest.h>
#include <zephyr/kernel.h>
diff --git a/tests/subsys/pm/power_mgmt/src/main.c b/tests/subsys/pm/power_mgmt/src/main.c
index aa64456..e348f94 100644
--- a/tests/subsys/pm/power_mgmt/src/main.c
+++ b/tests/subsys/pm/power_mgmt/src/main.c
@@ -5,7 +5,6 @@
*/
#include <zephyr/sys/printk.h>
-#include <zephyr/zephyr.h>
#include <zephyr/types.h>
#include <zephyr/pm/device.h>
#include <zephyr/pm/device_runtime.h>
diff --git a/tests/subsys/pm/power_mgmt_multicore/src/main.c b/tests/subsys/pm/power_mgmt_multicore/src/main.c
index 2a80904..14d1a4c 100644
--- a/tests/subsys/pm/power_mgmt_multicore/src/main.c
+++ b/tests/subsys/pm/power_mgmt_multicore/src/main.c
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: Apache-2.0
*/
-#include <zephyr/zephyr.h>
#include <zephyr/kernel.h>
#include <ztest.h>
#include <zephyr/pm/pm.h>