]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/p2m: Collapse early_alloc_p2m_middle redundant checks.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Mar 2012 18:16:49 +0000 (14:16 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 11 May 2012 18:14:23 +0000 (14:14 -0400)
commit98820e53b9e6d512f8276bfc5381d8c813f59c57
treecbf22babd4907b4299ea174805770d26e318da76
parent10ad01e18fdfe5878febf21970f488bc537428ff
xen/p2m: Collapse early_alloc_p2m_middle redundant checks.

At the start of the function we were checking for idx != 0
and bailing out. And later calling extend_brk if idx != 0.

That is unnecessary so remove that checks.

[upstream git commit d5096850b47424fb0f1c6a75b8f7184f7169319a]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/p2m.c