2022-11-29 03:36:33

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH 2/2] perf/amlogic: Remove unused including <linux/version.h>

./drivers/perf/amlogic/meson_ddr_pmu_core.c: 19 linux/version.h not needed.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3282
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/perf/amlogic/meson_ddr_pmu_core.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/perf/amlogic/meson_ddr_pmu_core.c b/drivers/perf/amlogic/meson_ddr_pmu_core.c
index 0ff7c0449ac2..b84346dbac2c 100644
--- a/drivers/perf/amlogic/meson_ddr_pmu_core.c
+++ b/drivers/perf/amlogic/meson_ddr_pmu_core.c
@@ -16,7 +16,6 @@
#include <linux/printk.h>
#include <linux/sysfs.h>
#include <linux/types.h>
-#include <linux/version.h>

#include <soc/amlogic/meson_ddr_pmu.h>

--
2.20.1.7.g153144c


2022-11-29 15:06:33

by Will Deacon

[permalink] [raw]
Subject: Re: [PATCH 2/2] perf/amlogic: Remove unused including <linux/version.h>

On Tue, Nov 29, 2022 at 11:21:07AM +0800, Jiapeng Chong wrote:
> ./drivers/perf/amlogic/meson_ddr_pmu_core.c: 19 linux/version.h not needed.
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3282
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/perf/amlogic/meson_ddr_pmu_core.c | 1 -
> 1 file changed, 1 deletion(-)


I'll squash these two patches together and bulk up the commit message a
bit. Thanks.

Will