Re: [PATCH] memcg: remove forward declaration from sched.h

Li Zefan
2009-05-22T08:35:44Z

KAMEZAWA Hiroyuki wrote:
> On Fri, 22 May 2009 14:27:32 +0800
> Li Zefan <lizf@cn.fujitsu.com> wrote:
>
>> This forward declaration seems pointless.
>>
>> compile tested.
>>
>> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
>
> Nice catch. (but I don't know why this sneaked into..)

It was long long ago when memcg was merged ;)

| commit 78fb74669e80883323391090e4d26d17fe29488f
| Author: Pavel Emelianov <xemul@openvz.org>
| Date: Thu Feb 7 00:13:51 2008 -0800
|
| Memory controller: accounting setup

But in that patch, the forward declation in sched.h was unneeded.