summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2022-10-27 01:59:43 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-12-01 02:01:26 +0300
commitb0d3dbd1b98660ec2154fccbd21c13916c967c05 (patch)
tree14d5886d8aba758f79c527bf3e4fd869553407d2
parent7ae2c17f53d5054d1fe5c1a103ad46068034617d (diff)
downloadlinux-b0d3dbd1b98660ec2154fccbd21c13916c967c05.tar.xz
mm/damon/{reclaim,lru_sort}: remove unnecessarily included headers
Some headers that 'reclaim.c' and 'lru_sort.c' are including are unnecessary now owing to previous cleanups and refactorings. Remove those. Link: https://lkml.kernel.org/r/20221026225943.100429-13-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--mm/damon/lru_sort.c2
-rw-r--r--mm/damon/reclaim.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/mm/damon/lru_sort.c b/mm/damon/lru_sort.c
index a1896c5acfe9..5c60163e556c 100644
--- a/mm/damon/lru_sort.c
+++ b/mm/damon/lru_sort.c
@@ -8,9 +8,7 @@
#define pr_fmt(fmt) "damon-lru-sort: " fmt
#include <linux/damon.h>
-#include <linux/ioport.h>
#include <linux/module.h>
-#include <linux/sched.h>
#include <linux/workqueue.h>
#include "modules-common.h"
diff --git a/mm/damon/reclaim.c b/mm/damon/reclaim.c
index 3173f373435c..e14eb30c01f4 100644
--- a/mm/damon/reclaim.c
+++ b/mm/damon/reclaim.c
@@ -8,9 +8,7 @@
#define pr_fmt(fmt) "damon-reclaim: " fmt
#include <linux/damon.h>
-#include <linux/ioport.h>
#include <linux/module.h>
-#include <linux/sched.h>
#include <linux/workqueue.h>
#include "modules-common.h"