From 3de7b96566bc985ec8badee36104635cfd53cc53 Mon Sep 17 00:00:00 2001 From: Laurentiu Mihalcea Date: Fri, 26 Jan 2024 22:03:18 +0200 Subject: [PATCH] cleanup: remove direct inclusion of drivers/interrupt.h Zephyr and XTOS' rtos/interrupt.h already include drivers/interrupt.h so there's no need to include it again in files which make use of one of the two rtos/interrupt.h headers. As such, this commit removes all drivers/interrupt.h inclusions from said files. Signed-off-by: Laurentiu Mihalcea --- src/drivers/mediatek/mt818x/timer.c | 1 - src/drivers/mediatek/mt8195/timer.c | 1 - zephyr/lib/alloc.c | 1 - zephyr/wrapper.c | 1 - 4 files changed, 4 deletions(-) diff --git a/src/drivers/mediatek/mt818x/timer.c b/src/drivers/mediatek/mt818x/timer.c index b5ff0c6d8..564708d2c 100644 --- a/src/drivers/mediatek/mt818x/timer.c +++ b/src/drivers/mediatek/mt818x/timer.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff --git a/src/drivers/mediatek/mt8195/timer.c b/src/drivers/mediatek/mt8195/timer.c index 0182dcb8d..06ceafe7b 100644 --- a/src/drivers/mediatek/mt8195/timer.c +++ b/src/drivers/mediatek/mt8195/timer.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff --git a/zephyr/lib/alloc.c b/zephyr/lib/alloc.c index 4c4baa325..436b11eca 100644 --- a/zephyr/lib/alloc.c +++ b/zephyr/lib/alloc.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff --git a/zephyr/wrapper.c b/zephyr/wrapper.c index 0d4644ffd..e2fed0558 100644 --- a/zephyr/wrapper.c +++ b/zephyr/wrapper.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include