2023-06-10 07:03:33

by Miaohe Lin

[permalink] [raw]
Subject: [PATCH] cgroup/cpuset: remove unneeded header files

Remove some unnecessary header files. No functional change intended.

Signed-off-by: Miaohe Lin <[email protected]>
---
kernel/cgroup/cpuset.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index b0aee733b92b..58e6f18f01c1 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -37,12 +37,10 @@
#include <linux/sched/deadline.h>
#include <linux/sched/mm.h>
#include <linux/sched/task.h>
-#include <linux/seq_file.h>
#include <linux/security.h>
#include <linux/spinlock.h>
#include <linux/oom.h>
#include <linux/sched/isolation.h>
-#include <linux/mutex.h>
#include <linux/cgroup.h>
#include <linux/wait.h>

--
2.27.0



2023-06-12 17:15:02

by Tejun Heo

[permalink] [raw]
Subject: Re: [PATCH] cgroup/cpuset: remove unneeded header files

On Sat, Jun 10, 2023 at 02:41:38PM +0800, Miaohe Lin wrote:
> Remove some unnecessary header files. No functional change intended.
>
> Signed-off-by: Miaohe Lin <[email protected]>

Applied to cgroup/for-6.5.

Thanks.

--
tejun