[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230617072658.1826560-1-linmiaohe@huawei.com>
Date: Sat, 17 Jun 2023 15:26:58 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: <hannes@...xchg.org>, <mhocko@...nel.org>,
<roman.gushchin@...ux.dev>, <shakeelb@...gle.com>,
<akpm@...ux-foundation.org>
CC: <muchun.song@...ux.dev>, <cgroups@...r.kernel.org>,
<linux-mm@...ck.org>, <linux-kernel@...r.kernel.org>,
<linmiaohe@...wei.com>
Subject: [PATCH] memcg: remove unneeded header files
Remove some unneeded header files. No functional change intended.
Signed-off-by: Miaohe Lin <linmiaohe@...wei.com>
---
mm/memcontrol.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index d42742edfeac..a2c82a18745d 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -30,14 +30,10 @@
#include <linux/cgroup.h>
#include <linux/pagewalk.h>
#include <linux/sched/mm.h>
-#include <linux/shmem_fs.h>
-#include <linux/hugetlb.h>
#include <linux/pagemap.h>
#include <linux/vm_event_item.h>
#include <linux/smp.h>
#include <linux/page-flags.h>
-#include <linux/backing-dev.h>
-#include <linux/bit_spinlock.h>
#include <linux/rcupdate.h>
#include <linux/limits.h>
#include <linux/export.h>
@@ -66,7 +62,6 @@
#include <linux/sched/isolation.h>
#include "internal.h"
#include <net/sock.h>
-#include <net/ip.h>
#include "slab.h"
#include "swap.h"
--
2.27.0
Powered by blists - more mailing lists