cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] cpuset: get rid of the useless forward declaration of cpuset
@ 2013-07-27  3:56 Zhao Hongjiang
       [not found] ` <51F34501.1090608-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Zhao Hongjiang @ 2013-07-27  3:56 UTC (permalink / raw)
  To: Li Zefan
  Cc: tj-DgEjT+Ai2ygdnm+yROfE0A, cgroups-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

get rid of the useless forward declaration of the struct cpuset cause the 
below define it.

Signed-off-by: Zhao Hongjiang <zhaohongjiang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
---
 kernel/cpuset.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/cpuset.c b/kernel/cpuset.c
index e565778..2ddd9b9 100644
--- a/kernel/cpuset.c
+++ b/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. */
 
-- 
1.8.2.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] cpuset: get rid of the useless forward declaration of cpuset
       [not found] ` <51F34501.1090608-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
@ 2013-07-29  3:46   ` Li Zefan
  2013-07-29 18:13   ` Tejun Heo
  1 sibling, 0 replies; 3+ messages in thread
From: Li Zefan @ 2013-07-29  3:46 UTC (permalink / raw)
  To: Zhao Hongjiang
  Cc: tj-DgEjT+Ai2ygdnm+yROfE0A, cgroups-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On 2013/7/27 11:56, Zhao Hongjiang wrote:
> get rid of the useless forward declaration of the struct cpuset cause the 
> below define it.
> 
> Signed-off-by: Zhao Hongjiang <zhaohongjiang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>

Acked-by: Li Zefan <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] cpuset: get rid of the useless forward declaration of cpuset
       [not found] ` <51F34501.1090608-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
  2013-07-29  3:46   ` Li Zefan
@ 2013-07-29 18:13   ` Tejun Heo
  1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2013-07-29 18:13 UTC (permalink / raw)
  To: Zhao Hongjiang
  Cc: Li Zefan, cgroups-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On Sat, Jul 27, 2013 at 11:56:49AM +0800, Zhao Hongjiang wrote:
> get rid of the useless forward declaration of the struct cpuset cause the 
> below define it.
> 
> Signed-off-by: Zhao Hongjiang <zhaohongjiang-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>

Applied to cgroup/for-3.12.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-29 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-27  3:56 [PATCH 1/2] cpuset: get rid of the useless forward declaration of cpuset Zhao Hongjiang
     [not found] ` <51F34501.1090608-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2013-07-29  3:46   ` Li Zefan
2013-07-29 18:13   ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).