Re: [PATCH 0/8] cgroup: a bunch of cleanups

From: Li Zefan
Date: Tue Mar 12 2013 - 02:51:35 EST


[PATCH 6/8] cgroup: remove unneeded includes from cgroup.h

Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx>
---
include/linux/cgroup.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 7e818a3..1f75a59 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -9,11 +9,8 @@
*/

#include <linux/sched.h>
-#include <linux/cpumask.h>
-#include <linux/nodemask.h>
#include <linux/rcupdate.h>
#include <linux/rculist.h>
-#include <linux/cgroupstats.h>
#include <linux/prio_heap.h>
#include <linux/rwsem.h>
#include <linux/idr.h>
@@ -22,6 +19,7 @@

#ifdef CONFIG_CGROUPS

+struct cgroupstats;
struct cgroupfs_root;
struct cgroup_subsys;
struct inode;
--
1.8.0.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/