瀏覽代碼

cpuset: get rid of the useless forward declaration of cpuset

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>
Zhao Hongjiang 12 年之前
父節點
當前提交
9ad9d25a1e
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      kernel/cpuset.c

+ 0 - 1
kernel/cpuset.c

@@ -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. */