diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-11-29 06:21:08 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-29 16:32:16 +0300 |
commit | ce00d127a6068a0e4e9485424c1fd32564bce326 (patch) | |
tree | 03daebb9ef70af8a494df8ba7c1902577be5442a /drivers/perf/amlogic | |
parent | 7299fdc1cfff0e45e4ca4efd77f250965598b41c (diff) | |
download | linux-ce00d127a6068a0e4e9485424c1fd32564bce326.tar.xz |
perf/amlogic: Remove unused header inclusions of <linux/version.h>
According to the "Abaci Robot":
| ./drivers/perf/amlogic/meson_g12_ddr_pmu.c:15 linux/version.h not needed.
| ./drivers/perf/amlogic/meson_ddr_pmu_core.c: 19 linux/version.h not needed.
So drop the unnecessary #include directives.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3280
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3282
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20221129032108.119661-1-jiapeng.chong@linux.alibaba.com
Link: https://lore.kernel.org/r/20221129032108.119661-2-jiapeng.chong@linux.alibaba.com
[will: Squashed patches together, filled out commit message a bit more]
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf/amlogic')
-rw-r--r-- | drivers/perf/amlogic/meson_ddr_pmu_core.c | 1 | ||||
-rw-r--r-- | drivers/perf/amlogic/meson_g12_ddr_pmu.c | 1 |
2 files changed, 0 insertions, 2 deletions
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> diff --git a/drivers/perf/amlogic/meson_g12_ddr_pmu.c b/drivers/perf/amlogic/meson_g12_ddr_pmu.c index 932802abd18c..a78fdb15e26c 100644 --- a/drivers/perf/amlogic/meson_g12_ddr_pmu.c +++ b/drivers/perf/amlogic/meson_g12_ddr_pmu.c @@ -12,7 +12,6 @@ #include <linux/platform_device.h> #include <linux/printk.h> #include <linux/types.h> -#include <linux/version.h> #include <soc/amlogic/meson_ddr_pmu.h> |