mm/damon/{reclaim,lru_sort}: remove unnecessarily included headers
authorSeongJae Park <sj@kernel.org>
Wed, 26 Oct 2022 22:59:43 +0000 (22:59 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:01:26 +0000 (15:01 -0800)
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>
mm/damon/lru_sort.c
mm/damon/reclaim.c

index a1896c5acfe97817c0583907a0bcbe4779616129..5c60163e556c8a4f72386efa847b76d1fd50aee9 100644 (file)
@@ -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"
index 3173f373435c2867221cfc8cb3fff356d2ace5e9..e14eb30c01f4ffc4ca9c3de2d45d86e45ad8781d 100644 (file)
@@ -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"