Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

Tang Chen
2012-12-04T09:47:00Z

On 11/27/2012 06:00 PM, Wen Congyang wrote:
> static int __remove_section(struct zone *zone, struct mem_section *ms)
> {
> unsigned long flags;
> @@ -330,9 +317,9 @@ static int __remove_section(struct zone *zone, struct mem_section *ms)
> pgdat_resize_lock(pgdat,&flags);
> sparse_remove_one_section(zone, ms);
> pgdat_resize_unlock(pgdat,&flags);
> - return 0;
> +
> + return ret;

I think we don't need to change this line. :)

Reviewed-by: Tang Chen <tangchen@cn.fujitsu.com>