cpuset: get rid of the useless forward declaration of cpuset
authorZhao Hongjiang <zhaohongjiang@huawei.com>
Sat, 27 Jul 2013 03:56:49 +0000 (11:56 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 29 Jul 2013 18:08:08 +0000 (14:08 -0400)
get rid of the useless forward declaration of the struct cpuset cause the
below define it.

Signed-off-by: Zhao Hongjiang <zhaohongjiang@huawei.com>
Acked-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cpuset.c

index e5657788feddfefaaed5f7ce3ce2ac26ca80a9c1..2ddd9b93feaacea6fd619a0163dee1c18ffcd67a 100644 (file)
@@ -70,7 +70,6 @@ int number_of_cpusets __read_mostly;
 
 /* Forward declare cgroup structures */
 struct cgroup_subsys cpuset_subsys;
-struct cpuset;
 
 /* See "Frequency meter" comments, below. */