2024-05-06 01:11:41

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] coresight: tmc: Remove duplicated include in coresight-tmc-core.c

The header files linux/acpi.h is included twice in coresight-tmc-core.c,
so one inclusion of each can be removed.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8937
Signed-off-by: Yang Li <[email protected]>
---
drivers/hwtracing/coresight/coresight-tmc-core.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/hwtracing/coresight/coresight-tmc-core.c b/drivers/hwtracing/coresight/coresight-tmc-core.c
index 4f11a739ae4d..b54562f392f3 100644
--- a/drivers/hwtracing/coresight/coresight-tmc-core.c
+++ b/drivers/hwtracing/coresight/coresight-tmc-core.c
@@ -26,7 +26,6 @@
#include <linux/coresight.h>
#include <linux/amba/bus.h>
#include <linux/platform_device.h>
-#include <linux/acpi.h>

#include "coresight-priv.h"
#include "coresight-tmc.h"
--
2.20.1.7.g153144c



2024-06-10 10:18:20

by Suzuki K Poulose

[permalink] [raw]
Subject: Re: [PATCH -next] coresight: tmc: Remove duplicated include in coresight-tmc-core.c

On Mon, 6 May 2024 09:11:21 +0800, Yang Li wrote:
> The header files linux/acpi.h is included twice in coresight-tmc-core.c,
> so one inclusion of each can be removed.
>
>

Applied, thanks!

[1/1] coresight: tmc: Remove duplicated include in coresight-tmc-core.c
https://git.kernel.org/coresight/c/b9b25c8496019402ecd64ddc5ae56f9bd97b12b2

Best regards,
--
Suzuki K Poulose <[email protected]>