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

Yang Li posted 1 patch 1 year, 7 months ago
drivers/hwtracing/coresight/coresight-tmc-core.c | 1 -
1 file changed, 1 deletion(-)
[PATCH -next] coresight: tmc: Remove duplicated include in coresight-tmc-core.c
Posted by Yang Li 1 year, 7 months ago
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 <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=8937
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 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
Re: [PATCH -next] coresight: tmc: Remove duplicated include in coresight-tmc-core.c
Posted by Suzuki K Poulose 1 year, 6 months ago
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 <suzuki.poulose@arm.com>