Re: [PATCH] mempolicy: remove redundant code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 15, 2010 at 7:18 AM, David Rientjes <rientjes@xxxxxxxxxx> wrote:
> On Sun, 14 Mar 2010, Bob Liu wrote:
>
>> From: Bob Liu <lliubbo@xxxxxxxxx>
>>
>> 1. In funtion is_valid_nodemask(), varibable k will be inited to 0 in
>> the following loop, needn't init to policy_zone anymore.
>>
>> 2. (MPOL_F_STATIC_NODES | MPOL_F_RELATIVE_NODES) has already defined
>> to MPOL_MODE_FLAGS in mempolicy.h.
>
> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
>
>> ---
>>  mempolicy.c |    5 +----
>>  1 files changed, 1 insertions(+), 4 deletions(-)
>>
>
> (although the diffstat still doesn't have the mm/ path).
>

Thanks a lot, I will check more careful next time :-)

-- 
Regards,
-Bob Liu

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]