Re: [PATCH 02/46] x86, mm: Split out split_mem_range from init_memory_mapping

From: snakky . zhang
Date: Tue Nov 13 2012 - 02:03:49 EST


On 2012å11æ13æ 14:20, Yinghai Lu wrote:
On Mon, Nov 12, 2012 at 9:51 PM, Yasuaki Ishimatsu
<isimatu.yasuaki@xxxxxxxxxxxxxx> wrote:
2012/11/13 6:17, Yinghai Lu wrote:
+ nr_range = 0;
This is unnecessary since it is set in the below.

+ nr_range = split_mem_range(mr, nr_range, start, end);
^^^^^^^^
Why not use 0 directly?

nr_range = split_mem_range(mr, 0, start, end);



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

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