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

From: Li Zefan
Date: Fri May 22 2009 - 04:36:31 EST


KAMEZAWA Hiroyuki wrote:
> On Fri, 22 May 2009 14:27:32 +0800
> Li Zefan <lizf@xxxxxxxxxxxxxx> wrote:
>
>> This forward declaration seems pointless.
>>
>> compile tested.
>>
>> Signed-off-by: Li Zefan <lizf@xxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxx>
| 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.

--
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/